]> git.baikalelectronics.ru Git - kernel.git/commit
xhci: Don't warn on empty ring for suspended devices.
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Mon, 18 Mar 2013 17:19:51 +0000 (10:19 -0700)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Mon, 25 Mar 2013 17:39:19 +0000 (10:39 -0700)
commit88467d380714c00408de977cfcad0e03d71159b1
tree87f5586fabf26daaf5f32e67924c63f7b6fa9530
parenta657c4f9dff5eb7f5f57811c240bdfa5bcffe8f4
xhci: Don't warn on empty ring for suspended devices.

When a device attached to the roothub is suspended, the endpoint rings
are stopped.  The host may generate a completion event with the
completion code set to 'Stopped' or 'Stopped Invalid' when the ring is
halted.  The current xHCI code prints a warning in that case, which can
be really annoying if the USB device is coming into and out of suspend.

Remove the unnecessary warning.

Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Tested-by: Stephen Hemminger <stephen@networkplumber.org>
drivers/usb/host/xhci-ring.c