linux-xiaomi-chiron/drivers/iio/light
Beomho Seo 1463a166b4 iio: cm32181: Change cm32181 ambient light sensor driver
Integration time of cm32181 is guessed about milliseconds.
But cm32181_read_als_it function return IIO_VAL_INT.
So fixed to return IIO_VAL_INT_PLUS_MICRO.
Next, add .write_raw_get_fmt callback function for call iio_str_to_fixpoint.

v2: cm32181_write_als_id function fixed as it was.

Cc: Kevin Tsai <ktsai@capellamicro.com>
Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2014-02-18 10:22:30 +00:00
..
adjd_s311.c
apds9300.c
cm32181.c iio: cm32181: Change cm32181 ambient light sensor driver 2014-02-18 10:22:30 +00:00
cm36651.c
gp2ap020a00f.c
hid-sensor-als.c
Kconfig
lm3533-als.c
Makefile
tcs3472.c
tsl2563.c
tsl4531.c
vcnl4000.c