linux-uconsole/drivers/phy/ti
Andreas Kemnade a9c1166038 phy: phy-twl4030-usb: fix denied runtime access
[ Upstream commit 6c7103aa02 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-11-20 18:47:24 +01:00
..
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
phy-da8xx-usb.c ARM: da8xx: use platform data for CFGCHIP syscon regmap 2018-02-19 16:19:25 +05:30
phy-dm816x-usb.c
phy-omap-control.c
phy-omap-usb2.c
phy-ti-pipe3.c phy: ti-pipe3: fix missing bit-wise or operator when assigning val 2019-05-25 18:23:27 +02:00
phy-tusb1210.c
phy-twl4030-usb.c phy: phy-twl4030-usb: fix denied runtime access 2019-11-20 18:47:24 +01:00