aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2014-05-24 09:43:52 +0200
committerPaul Kocialkowski <contact@paulk.fr>2014-05-24 09:43:52 +0200
commit80d15c4a6f8bcfb0087a6c3da0cd87f6e8a8ca58 (patch)
tree8cfa86df4f0ecd05fe0f6b96d2e79fa62b2989ef /drivers
parent6a93c9be394d42c085811b85cefa3284511533a4 (diff)
downloadkernel_goldelico_gta04-80d15c4a6f8bcfb0087a6c3da0cd87f6e8a8ca58.zip
kernel_goldelico_gta04-80d15c4a6f8bcfb0087a6c3da0cd87f6e8a8ca58.tar.gz
kernel_goldelico_gta04-80d15c4a6f8bcfb0087a6c3da0cd87f6e8a8ca58.tar.bz2
Revert "twl4030-madc: Return raw values from twl4030_get_madc_conversion"
This reverts commit 12f9fdbbccadde55fb6d8441ac2f9744f16f0372.
Diffstat (limited to 'drivers')
-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];