aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/mfd/tps65912.h
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.cirrus.com>2020-07-23 11:54:59 +0100
committerLee Jones <lee.jones@linaro.org>2020-08-13 07:50:54 +0100
commit77b3ddab713a2276c789a8e1beb339ce185cebc2 (patch)
treeb622c12df38a7ae5456c1bd59af3b57de2ae2d42 /include/linux/mfd/tps65912.h
parentmfd: mfd-core: Add mechanism for removal of a subset of children (diff)
downloadwireguard-linux-77b3ddab713a2276c789a8e1beb339ce185cebc2.tar.xz
wireguard-linux-77b3ddab713a2276c789a8e1beb339ce185cebc2.zip
mfd: madera: Improve handling of regulator unbinding
The current unbinding process for Madera has some issues. The trouble is runtime PM is disabled as the first step of the process, but some of the drivers release IRQs causing regmap IRQ to issue a runtime get which fails. To allow runtime PM to remain enabled during mfd_remove_devices, the DCVDD regulator must remain available. In the case of external DCVDD's this is simple, the regulator can simply be disabled/put after the call to mfd_remove_devices. However, in the case of an internally supplied DCVDD the regulator needs to be released after the other MFD children depending on it. Use the new MFD mfd_remove_devices_late functionality to split the DCVDD regulator off from the other drivers. Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions