2f084c1756
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> |
||
---|---|---|
.. | ||
bma180.c | ||
hid-sensor-accel-3d.c | ||
Kconfig | ||
kxsd9.c | ||
Makefile | ||
mma8452.c | ||
st_accel.h | ||
st_accel_buffer.c | ||
st_accel_core.c | ||
st_accel_i2c.c | ||
st_accel_spi.c |