linux-xiaomi-chiron/drivers/iio
Lee Jones 374de1642e iio: sensors-core: st: Check st_sensors_set_drdy_int_pin()'s return value
Value from st_sensors_set_drdy_int_pin() is assigned to err here,
but that stored value is not used before it is overwritten.  To fix
this we're enforcing a check on st_sensors_set_drdy_int_pin()'s
return value and if it's an error, we're returning right away.

Cc: jic23@kernel.org
Cc: linux-iio@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2014-09-26 08:15:27 +01:00
..
accel
adc
amplifiers
common
dac
frequency
gyro
humidity
imu
light
magnetometer
orientation
pressure
proximity
temperature
trigger
buffer_cb.c
iio_core.h
iio_core_trigger.h
industrialio-buffer.c
industrialio-core.c
industrialio-event.c
industrialio-trigger.c
industrialio-triggered-buffer.c
inkern.c
Kconfig
kfifo_buf.c
Makefile