Re: [PATCH v2 3/3] lp8788-charger: fix wrong ADC conversion

2012-11-17 Thread Anton Vorontsov
On Fri, Nov 02, 2012 at 10:09:20AM +, Jonathan Cameron wrote: [...] > > Looks good to me, fwiw: > > > > Reviewed-by Lars-Peter Clausen > > On this stuff as far as I'm concerned Lars' approval is fine but > for what it's worth this all looks fine to me. > > Acked-by: Jonathan Cameron All

Re: [PATCH v2 3/3] lp8788-charger: fix wrong ADC conversion

2012-11-17 Thread Anton Vorontsov
On Fri, Nov 02, 2012 at 10:09:20AM +, Jonathan Cameron wrote: [...] Looks good to me, fwiw: Reviewed-by Lars-Peter Clausen l...@metafoo.de On this stuff as far as I'm concerned Lars' approval is fine but for what it's worth this all looks fine to me. Acked-by: Jonathan Cameron

Re: [PATCH v2 3/3] lp8788-charger: fix wrong ADC conversion

2012-11-02 Thread Jonathan Cameron
On 10/19/2012 01:45 PM, Lars-Peter Clausen wrote: > On 10/19/2012 02:12 AM, Kim, Milo wrote: >> To get the battery voltage and temperature, IIO ADC functions are used. >> LP8788 ADC driver provides RAW and SCALE channel information. >> This patch fixes wrong ADC result. >> >> Patch v2. >> Use

Re: [PATCH v2 3/3] lp8788-charger: fix wrong ADC conversion

2012-11-02 Thread Jonathan Cameron
On 10/19/2012 01:45 PM, Lars-Peter Clausen wrote: On 10/19/2012 02:12 AM, Kim, Milo wrote: To get the battery voltage and temperature, IIO ADC functions are used. LP8788 ADC driver provides RAW and SCALE channel information. This patch fixes wrong ADC result. Patch v2. Use simple

Re: [PATCH v2 3/3] lp8788-charger: fix wrong ADC conversion

2012-10-19 Thread Lars-Peter Clausen
On 10/19/2012 02:12 AM, Kim, Milo wrote: > To get the battery voltage and temperature, IIO ADC functions are used. > LP8788 ADC driver provides RAW and SCALE channel information. > This patch fixes wrong ADC result. > > Patch v2. > Use simple iio_read_channel_processed() function rather than

Re: [PATCH v2 3/3] lp8788-charger: fix wrong ADC conversion

2012-10-19 Thread Lars-Peter Clausen
On 10/19/2012 02:12 AM, Kim, Milo wrote: To get the battery voltage and temperature, IIO ADC functions are used. LP8788 ADC driver provides RAW and SCALE channel information. This patch fixes wrong ADC result. Patch v2. Use simple iio_read_channel_processed() function rather than

[PATCH v2 3/3] lp8788-charger: fix wrong ADC conversion

2012-10-18 Thread Kim, Milo
To get the battery voltage and temperature, IIO ADC functions are used. LP8788 ADC driver provides RAW and SCALE channel information. This patch fixes wrong ADC result. Patch v2. Use simple iio_read_channel_processed() function rather than iio_read_channel_raw() and _scale(). Fix the

[PATCH v2 3/3] lp8788-charger: fix wrong ADC conversion

2012-10-18 Thread Kim, Milo
To get the battery voltage and temperature, IIO ADC functions are used. LP8788 ADC driver provides RAW and SCALE channel information. This patch fixes wrong ADC result. Patch v2. Use simple iio_read_channel_processed() function rather than iio_read_channel_raw() and _scale(). Fix the