]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: act8945a-regulator: add shutdown function
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Tue, 11 Dec 2018 15:56:50 +0000 (15:56 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 12 Dec 2018 16:59:35 +0000 (16:59 +0000)
commit95e09d13080b7f57ca649b301518e674d0300992
tree124f11e7254b22c4a34178cc8388c3c1c3e5027d
parentbd7993a6890a9594c29a7a98a56328f1446e6a12
regulator: act8945a-regulator: add shutdown function

Implement shutdown method to make sure the PMIC will not enter the suspend
state when the system is shutdown.

This work is based on work done by Borris Brezillon on [1].

[1] https://www.spinics.net/lists/kernel/msg2942960.html

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/act8945a-regulator.c