2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 14:43:58 +08:00
linux-next/drivers/phy/ti
Andreas Kemnade 6c7103aa02 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>
2018-09-25 16:10:12 +05:30
..
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: Update pcie phy settings 2017-10-23 11:19:27 +05:30
phy-tusb1210.c phy: tusb1210: implement ->set_mode() 2017-06-09 17:39:39 +05:30
phy-twl4030-usb.c phy: phy-twl4030-usb: fix denied runtime access 2018-09-25 16:10:12 +05:30