27793803f2
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
adis16080.c | ||
adis16130.c | ||
adis16136.c | ||
adis16260.c | ||
adxrs450.c | ||
hid-sensor-gyro-3d.c | ||
itg3200_buffer.c | ||
itg3200_core.c | ||
st_gyro.h | ||
st_gyro_buffer.c | ||
st_gyro_core.c | ||
st_gyro_i2c.c | ||
st_gyro_spi.c |