From: Peter Chen Date: Mon, 27 Sep 2010 08:43:25 +0000 (+0800) Subject: USB: do not print -ESHUTDOWN message if usb at otg device mode X-Git-Tag: v2.6.37-rc1~154^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7491f13367919d97525b73b1fd38801ac83aac06;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed