usb: dwc2: host: resume only if bus is suspended
authorGregory Herrero <gregory.herrero@intel.com>
Tue, 22 Sep 2015 13:16:44 +0000 (15:16 +0200)
committerFelipe Balbi <balbi@ti.com>
Thu, 1 Oct 2015 17:40:16 +0000 (12:40 -0500)
commitbea78555f71e01196d0a4613ffefd4c8920ba439
treef146c1086505f80aee79a97766c146da68e23ac3
parent6e74162f69c7fb6f60941ea7e94f1264bd6225fb
usb: dwc2: host: resume only if bus is suspended

Port can be resumed in bus_resume callback.
In this case, there is no need to drive resume a second time
when hcd ask for it.

Signed-off-by: Gregory Herrero <gregory.herrero@intel.com>
Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@intel.com>
Tested-by: Robert Baldyga <r.baldyga@samsung.com>
Tested-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Tested-by: John Youn <johnyoun@synopsys.com>
Acked-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc2/hcd.c
This page took 0.025037 seconds and 5 git commands to generate.