aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Fertser <fercerpav@gmail.com>2009-07-28 01:09:04 +0400
committerPaul Fertser <fercerpav@gmail.com>2009-08-02 11:27:19 +0400
commit1ff8185e1564c020b69eff3f222b5393f3b6c35b (patch)
tree22e7afddf6ebfbab2d508a7610716c0a6b28f71b
parent1f0f8418cdbacc41ddf3adcce0b8552f075b26d7 (diff)
pcf50633: fix wrong define for 10bit ADC mode
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
-rw-r--r--include/linux/mfd/pcf50633/adc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/mfd/pcf50633/adc.h b/include/linux/mfd/pcf50633/adc.h
index 56669b4183a..b35e62801ff 100644
--- a/include/linux/mfd/pcf50633/adc.h
+++ b/include/linux/mfd/pcf50633/adc.h
@@ -25,7 +25,8 @@
#define PCF50633_REG_ADCS3 0x57
#define PCF50633_ADCC1_ADCSTART 0x01
-#define PCF50633_ADCC1_RES_10BIT 0x02
+#define PCF50633_ADCC1_RES_8BIT 0x02
+#define PCF50633_ADCC1_RES_10BIT 0x00
#define PCF50633_ADCC1_AVERAGE_NO 0x00
#define PCF50633_ADCC1_AVERAGE_4 0x04
#define PCF50633_ADCC1_AVERAGE_8 0x08