Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8d360d8c authored by Paul Fertser's avatar Paul Fertser Committed by Samuel Ortiz
Browse files

mfd: fix wrong define for 10bit pcf50633 ADC mode



The 10 bits definition was the 8 bits one.

Signed-off-by: default avatarPaul Fertser <fercerpav@gmail.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent bd8ef102
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -25,7 +25,8 @@
#define PCF50633_REG_ADCS3		0x57
#define PCF50633_REG_ADCS3		0x57


#define PCF50633_ADCC1_ADCSTART		0x01
#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_NO	0x00
#define PCF50633_ADCC1_AVERAGE_4	0x04
#define PCF50633_ADCC1_AVERAGE_4	0x04
#define PCF50633_ADCC1_AVERAGE_8	0x08
#define PCF50633_ADCC1_AVERAGE_8	0x08