summaryrefslogtreecommitdiffstats
path: root/mm/mincore.c
diff options
context:
space:
mode:
authorAndreas Kemnade <andreas@kemnade.info>2018-09-22 11:44:05 +0200
committerKishon Vijay Abraham I <kishon@ti.com>2018-09-25 12:40:12 +0200
commit6c7103aa026094a4ee2c2708ec6977a6dfc5331d (patch)
tree43e8a858f396d43aeacea3d460704bb37086cd9a /mm/mincore.c
parentphy: renesas: rcar-gen3-usb2: add is_otg_channel to use "role" sysfs (diff)
downloadlinux-6c7103aa026094a4ee2c2708ec6977a6dfc5331d.tar.xz
linux-6c7103aa026094a4ee2c2708ec6977a6dfc5331d.zip
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 'mm/mincore.c')
0 files changed, 0 insertions, 0 deletions