[PATCH Raring SRU] xhci: Don't warn on empty ring for suspended devices.

Zhang, Xiong Y xiong.y.zhang at intel.com
Mon May 6 09:38:28 UTC 2013


OSVs may want to backport this patch, to avoid log spam when USB devices are suspended.

commit a83d6755814e4614ba77e15d82796af0f695c6b8
Author: Sarah Sharp <sarah.a.sharp at linux.intel.com>
Date:   Mon Mar 18 10:19:51 2013 -0700

    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.


thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20130506/43e70178/attachment.html>


More information about the kernel-team mailing list