regulator: tps65910: Sleep off rails when ext sleep configured
authorLaxman Dewangan <ldewangan@nvidia.com>
Wed, 7 Mar 2012 12:51:49 +0000 (18:21 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 11 Mar 2012 20:49:28 +0000 (20:49 +0000)
commitf30b0716feaedc0cf432ed8eca82c46104d64c0d
treed4be15e8c029675c2de11b5cf64069d6ed50f6ca
parent844775ef987aaf09a1ddea668f9acd17f9548062
regulator: tps65910: Sleep off rails when ext sleep configured

Keep the rails OFF in sleep mode only when the rails are
controlled by external sleep control.
The devices tps65910 and tps65911, both has the sleep input.
The tps65911's sleep input is not same as tps65910's EN3 and hence
taking care of SLEEP input as separate external sleep control input.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/tps65910-regulator.c
include/linux/mfd/tps65910.h