Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mfd: fix wrong define for 10bit pcf50633 ADC mode

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>

authored by

Paul Fertser and committed by
Samuel Ortiz
8d360d8c bd8ef102

+2 -1
+2 -1
include/linux/mfd/pcf50633/adc.h
··· 25 25 #define PCF50633_REG_ADCS3 0x57 26 26 27 27 #define PCF50633_ADCC1_ADCSTART 0x01 28 - #define PCF50633_ADCC1_RES_10BIT 0x02 28 + #define PCF50633_ADCC1_RES_8BIT 0x02 29 + #define PCF50633_ADCC1_RES_10BIT 0x00 29 30 #define PCF50633_ADCC1_AVERAGE_NO 0x00 30 31 #define PCF50633_ADCC1_AVERAGE_4 0x04 31 32 #define PCF50633_ADCC1_AVERAGE_8 0x08