aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/power/rx51_battery.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/rx51_battery.c b/drivers/power/rx51_battery.c
index 8208888b844e..35f625e18ba6 100644
--- a/drivers/power/rx51_battery.c
+++ b/drivers/power/rx51_battery.c
@@ -42,6 +42,7 @@ static int rx51_battery_read_adc(int channel)
42 req.method = TWL4030_MADC_SW1; 42 req.method = TWL4030_MADC_SW1;
43 req.func_cb = NULL; 43 req.func_cb = NULL;
44 req.type = TWL4030_MADC_WAIT; 44 req.type = TWL4030_MADC_WAIT;
45 req.raw = true;
45 46
46 if (twl4030_madc_conversion(&req) <= 0) 47 if (twl4030_madc_conversion(&req) <= 0)
47 return -ENODATA; 48 return -ENODATA;