mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
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> |
History
|
|
|---|---|---|
| .. | ||
| hid-sensor-press.c | ||
| Kconfig | ||
| Makefile | ||
| mpl115.c | ||
| mpl3115.c | ||
| st_pressure.h | ||
| st_pressure_buffer.c | ||
| st_pressure_core.c | ||
| st_pressure_i2c.c | ||
| st_pressure_spi.c | ||