forked from Minki/linux
6c3d8d4f05
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. Agreed with by Srinivas. 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> |
||
---|---|---|
.. | ||
hid-sensor-press.c | ||
Kconfig | ||
Makefile | ||
mpl115.c | ||
mpl3115.c | ||
st_pressure_buffer.c | ||
st_pressure_core.c | ||
st_pressure_i2c.c | ||
st_pressure_spi.c | ||
st_pressure.h |