public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] pcf50633: fix wrong define for 10bit ADC mode
@ 2009-07-27 21:09 Paul Fertser
  2009-08-03 18:01 ` Samuel Ortiz
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Fertser @ 2009-07-27 21:09 UTC (permalink / raw)
  To: Samuel Ortiz; +Cc: linux-kernel

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
---
 include/linux/mfd/pcf50633/adc.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] pcf50633: fix wrong define for 10bit ADC mode
  2009-07-27 21:09 [PATCH] pcf50633: fix wrong define for 10bit ADC mode Paul Fertser
@ 2009-08-03 18:01 ` Samuel Ortiz
  0 siblings, 0 replies; 2+ messages in thread
From: Samuel Ortiz @ 2009-08-03 18:01 UTC (permalink / raw)
  To: Paul Fertser; +Cc: linux-kernel

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-08-03 17:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-27 21:09 [PATCH] pcf50633: fix wrong define for 10bit ADC mode Paul Fertser
2009-08-03 18:01 ` Samuel Ortiz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox