diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2013-05-14 13:55:29 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-07 12:46:35 -0700 |
commit | c2ecac559adaf4a9413a01d3601006320e345d96 (patch) | |
tree | 0f93c5f55144c1cfd34a8016631fdeeee0ddc0cb /block/blk-throttle.c | |
parent | ea4950c9faa2a5d1019d74ff559374a56fdad8a2 (diff) | |
download | kernel_samsung_aries-c2ecac559adaf4a9413a01d3601006320e345d96.zip kernel_samsung_aries-c2ecac559adaf4a9413a01d3601006320e345d96.tar.gz kernel_samsung_aries-c2ecac559adaf4a9413a01d3601006320e345d96.tar.bz2 |
USB: UHCI: fix for suspend of virtual HP controller
commit 997ff893603c6455da4c5e26ba1d0f81adfecdfc upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block/blk-throttle.c')
0 files changed, 0 insertions, 0 deletions