mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 12:52:30 +00:00
5d24b0b37b
IIO_CHAN_INFO_SAMP_FREQ and IIO_CHAN_INFO_HYSTERESIS cases ignored the actual return values (which could be -EINVAL) and instead returned IIO_VAL_INT_PLUS_MICRO always. Return the actual value obtained from the functions. Both functions return IIO_VAL_INT_PLUS_MICRO upon success. Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com> Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org> |
||
---|---|---|
.. | ||
adjd_s311.c | ||
apds9300.c | ||
cm32181.c | ||
cm36651.c | ||
gp2ap020a00f.c | ||
hid-sensor-als.c | ||
hid-sensor-prox.c | ||
Kconfig | ||
lm3533-als.c | ||
ltr501.c | ||
Makefile | ||
tcs3472.c | ||
tsl2563.c | ||
tsl4531.c | ||
vcnl4000.c |