Re: [PATCH] iio: isl29018: Support fractional ALS scaling.

2012-09-08 Thread Jonathan Cameron
On 09/05/2012 08:55 PM, Bryan Freed wrote: > The Industrial IO framework supports scaling ADC values by fractions, > but most drivers default to using whole numbers. > This change turns on fractional scaling in the isl29018 driver. > > Signed-off-by: Bryan Freed add to togreg branch of

Re: [PATCH] iio: isl29018: Support fractional ALS scaling.

2012-09-08 Thread Jonathan Cameron
On 09/05/2012 08:55 PM, Bryan Freed wrote: The Industrial IO framework supports scaling ADC values by fractions, but most drivers default to using whole numbers. This change turns on fractional scaling in the isl29018 driver. Signed-off-by: Bryan Freed bfr...@chromium.org add to togreg

[PATCH] iio: isl29018: Support fractional ALS scaling.

2012-09-05 Thread Bryan Freed
The Industrial IO framework supports scaling ADC values by fractions, but most drivers default to using whole numbers. This change turns on fractional scaling in the isl29018 driver. Signed-off-by: Bryan Freed --- drivers/staging/iio/light/isl29018.c | 17 +++-- 1 files changed,

[PATCH] iio: isl29018: Support fractional ALS scaling.

2012-09-05 Thread Bryan Freed
The Industrial IO framework supports scaling ADC values by fractions, but most drivers default to using whole numbers. This change turns on fractional scaling in the isl29018 driver. Signed-off-by: Bryan Freed bfr...@chromium.org --- drivers/staging/iio/light/isl29018.c | 17 +++--