usb: dwc2: gadget: ignore pm suspend/resume in L2
authorGregory Herrero <gregory.herrero@intel.com>
Wed, 29 Apr 2015 20:09:07 +0000 (22:09 +0200)
committerFelipe Balbi <balbi@ti.com>
Wed, 29 Apr 2015 20:19:14 +0000 (15:19 -0500)
commit9e779778ad7e503434aa76bfc96f98d7d7b2d139
tree0b918228fc1bf37cba261dea6ae87576be84b035
parent4876886fb95f93c8b09381ffbdac969d1a1fee0d
usb: dwc2: gadget: ignore pm suspend/resume in L2

Nothing to be done in pm suspend/resume when controller is in L2.
Don't disconnect or reset. State is already saved when putting
controller in hibernation and will be restored on USB bus resume.

Acked-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Gregory Herrero <gregory.herrero@intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc2/gadget.c