regulator: palmas: clear sleep bits if not selected
authorLaxman Dewangan <ldewangan@nvidia.com>
Wed, 17 Apr 2013 09:43:11 +0000 (15:13 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 17 Apr 2013 14:03:06 +0000 (15:03 +0100)
Clear the sleep/warm reset bits when it is not selected through
regulator platform data. This will make sure that configuration
is inline with the platform data regardless of boot/POR
configuration.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Acked-by: Graeme Gregory <gg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

No differences found