summaryrefslogtreecommitdiff
path: root/drivers/usb/host/ohci-hcd.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2013-05-14 13:55:29 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-15 13:41:40 -0400
commit997ff893603c6455da4c5e26ba1d0f81adfecdfc (patch)
tree58ef65b317b0096a0481863deb4ae80f5b6902fe /drivers/usb/host/ohci-hcd.c
parentccd9509a0b942f7a139f1adb741a746ef0220911 (diff)
downloadlwn-997ff893603c6455da4c5e26ba1d0f81adfecdfc.tar.gz
lwn-997ff893603c6455da4c5e26ba1d0f81adfecdfc.zip
USB: UHCI: fix for suspend of virtual HP controller
HP's virtual UHCI host controller takes a long time to suspend (several hundred microseconds), even when no devices are attached. This provokes a warning message from uhci-hcd in the auto-stop case. To prevent this from happening, this patch adds a test to avoid performing an auto-stop when the wait_for_hp quirk flag is set. The controller will still suspend through the normal runtime PM mechanism. And since that pathway includes a 1-ms delay, the slowness of the virtual hardware won't matter. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Reported-and-tested-by: ZhenHua <zhen-hual@hp.com> CC: <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ohci-hcd.c')
0 files changed, 0 insertions, 0 deletions