]> 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)
commite3ceca4d9be5fa628ba8c93f2e542b22004912fe
tree124f11e7254b22c4a34178cc8388c3c1c3e5027d
parentf5fa10aab7fad2bae9aa6411d3cd37440bbc2cc5
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