aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/wm831x-ldo.c
diff options
context:
space:
mode:
authorSaquib Herman <saquib@ti.com>2011-04-01 10:22:43 +0530
committerLiam Girdwood <lrg@slimlogic.co.uk>2011-05-27 10:34:36 +0100
commit776dc923f5c9cd0eea61475ed61350e377ad98b5 (patch)
tree3331185ef92a5850ae1c523b8de1fc5cf02ac96e /drivers/regulator/wm831x-ldo.c
parent21657ebf868b9c7c6c0cab15a6797c3f1af64295 (diff)
downloadkernel_samsung_smdk4412-776dc923f5c9cd0eea61475ed61350e377ad98b5.tar.gz
kernel_samsung_smdk4412-776dc923f5c9cd0eea61475ed61350e377ad98b5.tar.bz2
kernel_samsung_smdk4412-776dc923f5c9cd0eea61475ed61350e377ad98b5.zip
regulator: twl: remap has no meaning for 6030
TWL6030 does not have remap register. The current implementation causes value of remap to be written to state register, accidentally causing the regulators which are probed to be switched on as well. This is wrong as regulators should be controllable based on calls to enable/disable for TWL regulator framework. Further, the values initialized make no sense as well. We hence remove this from the initalizers and also write to remap register only if the TWL is 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)>
Diffstat (limited to 'drivers/regulator/wm831x-ldo.c')
0 files changed, 0 insertions, 0 deletions