]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: twl: add twl6030 set_mode
authorSaquib Herman <saquib@ti.com>
Fri, 1 Apr 2011 04:52:46 +0000 (10:22 +0530)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Fri, 27 May 2011 09:34:36 +0000 (10:34 +0100)
commit35a6456aad7cf76e74fdee0e49f1f4b74829e1c7
tree969bf649d7eb2db1db20038002e935e5570ff9a6
parent0d7f06ec3f3428328b4927a8fc1160d375cd25ab
regulator: twl: add twl6030 set_mode

Current set_mode logic does not support 6030. The logic for 4030 is
not reusable for 6030 as the mode setting for 6030 now uses the new
CFG_STATE register. We hence rename the old get_status as being
specific to 4030.

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