Messages in this thread | | | Date | Mon, 3 Aug 2009 20:01:23 +0200 | From | Samuel Ortiz <> | Subject | Re: [PATCH] pcf50633: fix wrong define for 10bit ADC mode |
| |
On Tue, Jul 28, 2009 at 01:09:04AM +0400, Paul Fertser wrote: > Signed-off-by: Paul Fertser <fercerpav@gmail.com> > --- > include/linux/mfd/pcf50633/adc.h | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) Applied, thanks a lot.
Cheers, Samuel.
> diff --git a/include/linux/mfd/pcf50633/adc.h b/include/linux/mfd/pcf50633/adc.h > index 56669b4..b35e628 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 > -- > 1.6.0.6 >
-- Intel Open Source Technology Centre http://oss.intel.com/
| |