aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/wm8350-regmap.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2008-11-30 22:45:14 +0100
committerSamuel Ortiz <samuel@sortiz.org>2009-01-04 12:17:39 +0100
commit4008e879e1325c29362aa2c3fa4b527273ae15a8 (patch)
tree1fe1e210e6031a6a19d42b88645f94641a23f7db /drivers/mfd/wm8350-regmap.c
parent7e386e6e0e4f34f0545e8923e22fe4dd61ef9d48 (diff)
downloadkernel_samsung_smdk4412-4008e879e1325c29362aa2c3fa4b527273ae15a8.zip
kernel_samsung_smdk4412-4008e879e1325c29362aa2c3fa4b527273ae15a8.tar.gz
kernel_samsung_smdk4412-4008e879e1325c29362aa2c3fa4b527273ae15a8.tar.bz2
power_supply: Add battery health reporting for WM8350
Implement support for reporting battery health in the WM8350 battery interface. Since we are now able to report this via the classs remove the diagnostics from the interrupt handler. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Anton Vorontsov <cbouatmailru@gmail.com> Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
Diffstat (limited to 'drivers/mfd/wm8350-regmap.c')
-rw-r--r--drivers/mfd/wm8350-regmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/wm8350-regmap.c b/drivers/mfd/wm8350-regmap.c
index aaf394a..b43d64c 100644
--- a/drivers/mfd/wm8350-regmap.c
+++ b/drivers/mfd/wm8350-regmap.c
@@ -1314,7 +1314,7 @@ const struct wm8350_reg_access wm8350_reg_io_map[] = {
{ 0xFFFF, 0xFFFF, 0xFFFF }, /* R223 */
{ 0x0000, 0x0000, 0x0000 }, /* R224 */
{ 0x8F3F, 0x0000, 0xFFFF }, /* R225 - DCDC/LDO status */
- { 0x0000, 0x0000, 0x0000 }, /* R226 */
+ { 0x0000, 0x0000, 0xFFFF }, /* R226 - Charger status */
{ 0x0000, 0x0000, 0xFFFF }, /* R227 */
{ 0x0000, 0x0000, 0x0000 }, /* R228 */
{ 0x0000, 0x0000, 0x0000 }, /* R229 */