summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-adnp.c
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2016-04-12 11:33:29 +0300
committerFelipe Balbi <felipe.balbi@linux.intel.com>2016-04-18 12:35:18 +0300
commit9772b47a4c2916d645c551228b6085ea24acbe5d (patch)
tree0517e1fc9865c2a009404c182bcac4fe4fe544f4 /drivers/gpio/gpio-adnp.c
parente6bdf8195b4a43ebff71f25fc7ca5e436e79161a (diff)
downloadop-kernel-dev-9772b47a4c2916d645c551228b6085ea24acbe5d.zip
op-kernel-dev-9772b47a4c2916d645c551228b6085ea24acbe5d.tar.gz
usb: dwc3: gadget: Fix suspend/resume during device mode
Gadget controller might not be always active during system suspend/resume as gadget driver might not have yet been loaded or might have been unloaded prior to system suspend. Check if we're active and only then perform necessary actions during suspend/resume. Signed-off-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/gpio/gpio-adnp.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud