aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mfd/twl4030-madc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mfd/twl4030-madc.c b/drivers/mfd/twl4030-madc.c
index d5b84da..4c583e4 100644
--- a/drivers/mfd/twl4030-madc.c
+++ b/drivers/mfd/twl4030-madc.c
@@ -615,11 +615,9 @@ int twl4030_get_madc_conversion(int channel_no)
req.method = TWL4030_MADC_SW2;
req.active = 0;
req.func_cb = NULL;
- req.raw = 1;
ret = twl4030_madc_conversion(&req);
if (ret < 0)
return ret;
-
if (req.rbuf[channel_no] > 0)
temp = req.rbuf[channel_no];