Home
last modified time | relevance | path

Searched hist:"7491 f13367919d97525b73b1fd38801ac83aac06" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/usb/core/
H A Ddriver.cdiff 7491f13367919d97525b73b1fd38801ac83aac06 Mon Sep 27 03:43:25 CDT 2010 Peter Chen <peter.chen@freescale.com> 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>