2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 21:54:06 +08:00
linux-next/drivers/iio/light
Beomho Seo 26c17a1c56 iio: cm36651: Fix read/write integration time function.
This patch is fixed [read/write] integration time function.
cm36651 have integration time from 1 to 640 milliseconds.
But, print more then the thousand second. when call *_integration_time attribute.
Because read_integration_time function return IIO_VAL_INT.
read integration time function is changed return IIO_VAL_INT_PLUS_MICRO;
And then .write_raw_get_fmt callback function for parse a fixed-point number from a string.
Some description is revised milliseconds unit.

v2: cm36651_write_int_time function fixed as it was.

Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2014-02-18 10:22:29 +00:00
..
adjd_s311.c iio:light:adjd_s311 replaces IIO_ST macro with explicit entries to struct scan_type 2013-12-17 21:08:56 +00:00
apds9300.c iio: Remove support for the legacy event config interface 2013-12-08 13:13:52 +00:00
cm32181.c iio: add Capella CM32181 ambient light sensor driver. 2014-01-01 12:03:32 +00:00
cm36651.c iio: cm36651: Fix read/write integration time function. 2014-02-18 10:22:29 +00:00
gp2ap020a00f.c iio: Remove support for the legacy event config interface 2013-12-08 13:13:52 +00:00
hid-sensor-als.c Merge v3.13-rc2 into staging-next 2013-12-02 16:39:07 -08:00
Kconfig iio: add Capella CM32181 ambient light sensor driver. 2014-01-01 12:03:32 +00:00
lm3533-als.c iio: light: lm3533-als: Use devm_iio_device_alloc 2013-08-03 18:55:25 +01:00
Makefile iio: add Capella CM32181 ambient light sensor driver. 2014-01-01 12:03:32 +00:00
tcs3472.c iio:light:tcs3472 replaces IIO_ST macro with explicit entries to struct scan_type 2013-12-17 21:39:02 +00:00
tsl2563.c First set of IIO fixes for the 3.14 cycle. 2014-02-07 08:57:00 -08:00
tsl4531.c iio: Add tsl4531 ambient light sensor driver 2013-09-14 21:17:15 +01:00
vcnl4000.c iio:vcnl4000: Mark transfer buffer as __be16 2013-12-03 20:22:27 +00:00