projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branches 'asoc/topic/gpio' and 'asoc/topic/intel' into asoc...
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
iio
/
light
/
cm32181.c
diff --git
a/drivers/iio/light/cm32181.c
b/drivers/iio/light/cm32181.c
index 47a6dbac2d0ca8b23dcea31158b43d3c3df3d2f0..d976e6ce60dbb22a57ee293b7baed954f648d2d3 100644
(file)
--- a/
drivers/iio/light/cm32181.c
+++ b/
drivers/iio/light/cm32181.c
@@
-221,6
+221,7
@@
static int cm32181_read_raw(struct iio_dev *indio_dev,
*val = cm32181->calibscale;
return IIO_VAL_INT;
case IIO_CHAN_INFO_INT_TIME:
+ *val = 0;
ret = cm32181_read_als_it(cm32181, val2);
return ret;
}