]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: twl: fix twl6030 enable/disable
authorSaquib Herman <saquib@ti.com>
Fri, 1 Apr 2011 04:52:42 +0000 (10:22 +0530)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Fri, 27 May 2011 09:34:36 +0000 (10:34 +0100)
commit2ebb629a622842d3deeb1b5beb9978cb7517140a
treed97474e12913d7bf01b9b04c6b4d0312fcfccf64
parente006e46e8644c84307166cf31bd1efc4195a443a
regulator: twl: fix twl6030 enable/disable

TWL6030 requires an additional register write to CFG_STATE register
to explicitly state that the regulator is in a certain state. Merely
associating the regulator with the group is not enough. Add the
required register field definitions and fix the handling for
TWL6030 enable/disable.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Saquib Herman <saquib@ti.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@vega.(none)>
drivers/regulator/twl-regulator.c