summaryrefslogtreecommitdiffstats
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
parentpower_supply: Add cold to the POWER_SUPPLY_HEALTH report values (diff)
downloadlinux-4008e879e1325c29362aa2c3fa4b527273ae15a8.tar.xz
linux-4008e879e1325c29362aa2c3fa4b527273ae15a8.zip
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 aaf394aa9c2d..b43d64c2b920 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 */