diff options
author | Peter Chen <peter.chen@freescale.com> | 2010-09-27 10:43:25 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-22 19:22:05 +0200 |
commit | 7491f13367919d97525b73b1fd38801ac83aac06 (patch) | |
tree | ff26bd3a16a6e9ee07f1671288314317b56265a3 /drivers/usb/serial/cp210x.c | |
parent | usb-storage: add new no_read_capacity_16 quirk (diff) | |
download | linux-7491f13367919d97525b73b1fd38801ac83aac06.tar.xz linux-7491f13367919d97525b73b1fd38801ac83aac06.zip |
USB: do not print -ESHUTDOWN message if usb at otg device mode
At otg device mode, the otg host resume should do no-op during
system resume, otherwise, the otg device will be treated as a
host for enumeration.
So, the otg host driver returns -ESHUTDOWN if it detects the
current usb mode is device mode. The host driver has to return
-ESHUTDOWN, otherwise, the usb_hc_died will be called.
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/cp210x.c')
0 files changed, 0 insertions, 0 deletions