diff options
author | Andreas Kemnade <andreas@kemnade.info> | 2018-09-22 11:44:05 +0200 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2018-09-25 16:10:12 +0530 |
commit | 6c7103aa026094a4ee2c2708ec6977a6dfc5331d (patch) | |
tree | 43e8a858f396d43aeacea3d460704bb37086cd9a /tools/perf/jvmti | |
parent | 979b519c7a1bff56a212bf80cc04ae9b4131ea43 (diff) |
phy: phy-twl4030-usb: fix denied runtime access
When runtime is not enabled, pm_runtime_get_sync() returns -EACCESS,
the counter will be incremented but the resume callback not called,
so enumeration and charging will not start properly.
To avoid that happen, disable irq on suspend and recheck on resume.
Practically this happens when the device is woken up from suspend by
plugging in usb.
Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'tools/perf/jvmti')
0 files changed, 0 insertions, 0 deletions