summaryrefslogtreecommitdiffstats
path: root/drivers/power/rx51_battery.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/rx51_battery.c')
-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)
req.method = TWL4030_MADC_SW1;
req.func_cb = NULL;
req.type = TWL4030_MADC_WAIT;
+ req.raw = true;
if (twl4030_madc_conversion(&req) <= 0)
return -ENODATA;