projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd8ef10
)
mfd: fix wrong define for 10bit pcf50633 ADC mode
author
Paul Fertser
<fercerpav@gmail.com>
Mon, 27 Jul 2009 21:09:04 +0000
(
01:09
+0400)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Thu, 17 Sep 2009 07:46:54 +0000
(09:46 +0200)
The 10 bits definition was the 8 bits one.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
include/linux/mfd/pcf50633/adc.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/mfd/pcf50633/adc.h
b/include/linux/mfd/pcf50633/adc.h
index 56669b4183ad7a6a7763edafe727761ac514498a..b35e62801ffa1d81be6d1984073d6b8485a67f5e 100644
(file)
--- 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