regulator: Fix get_mode() for WM835x DCDCs
commit33f301af0c56971e3c0f4a4eb4b92f7e80230f49
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 26 Feb 2009 19:24:20 +0000 (26 19:24 +0000)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Tue, 31 Mar 2009 08:56:24 +0000 (31 09:56 +0100)
tree85235e51a9fc329e9cff8de9ac26cc053ac42a98
parenta308466c24b4f42bab6945026e938874d22cde50
regulator: Fix get_mode() for WM835x DCDCs

The WM835x regulators need a different register checking for force
mode on each DCDC. Previously the force mode status for DCDC1 was
checked.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/wm8350-regulator.c