diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-29 07:40:10 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-29 07:40:10 -0700 |
commit | 01731cf2eee38410b505c447026e46a591674835 (patch) | |
tree | eeaea94786b4ca993dd3a40d123eb3b6799da1c9 /drivers/usb/host/xhci-ring.c | |
parent | 6496c045292b7afe74b5306c123186976f032125 (diff) | |
parent | 5ae90d8e467e625e447000cb4335c4db973b1095 (diff) | |
download | blackbird-obmc-linux-01731cf2eee38410b505c447026e46a591674835.tar.gz blackbird-obmc-linux-01731cf2eee38410b505c447026e46a591674835.zip |
Merge 3.11-rc3 into staging-next
We want these fixes here.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci-ring.c')
-rw-r--r-- | drivers/usb/host/xhci-ring.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c index 1e57eafa6910..5b08cd85f8e7 100644 --- a/drivers/usb/host/xhci-ring.c +++ b/drivers/usb/host/xhci-ring.c @@ -434,7 +434,7 @@ static void ring_doorbell_for_active_rings(struct xhci_hcd *xhci, /* A ring has pending URBs if its TD list is not empty */ if (!(ep->ep_state & EP_HAS_STREAMS)) { - if (!(list_empty(&ep->ring->td_list))) + if (ep->ring && !(list_empty(&ep->ring->td_list))) xhci_ring_ep_doorbell(xhci, slot_id, ep_index, 0); return; } |