linux_old1/drivers/iio/common/st_sensors
Lee Jones 3c8bf22346 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>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2014-08-30 10:49:22 +01:00
..
Kconfig
Makefile
st_sensors_buffer.c iio:st_sensors: Use iio_push_to_buffers_with_timestamp() 2013-09-21 19:23:56 +01:00
st_sensors_core.c iio: sensors-core: st: Check st_sensors_set_drdy_int_pin()'s return value 2014-08-30 10:49:22 +01:00
st_sensors_i2c.c iio: st_sensors: add devicetree probing support 2014-07-11 21:09:49 +01:00
st_sensors_spi.c iio:common: Use spi_sync_transfer() in STMicroelectronics common library 2013-03-16 10:18:10 +00:00
st_sensors_trigger.c iio:trigger: Introduce iio_tigger_{set,get}_drvdata 2013-03-25 21:06:09 +00:00