remarkable-linux/drivers/iio
Crestez Dan Leonard ff05916f94 iio: st_sensors: Init trigger before irq request
This fixes a possible race where an interrupt arrives before complete
initialization and crashes because iio_trigger_get_drvdata returns NULL.

Cc: Giuseppe Barba <giuseppe.barba@st.com>
Cc: Denis Ciocca <denis.ciocca@st.com>
Signed-off-by: Crestez Dan Leonard <leonard.crestez@intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2016-05-29 20:25:27 +01:00
..
accel iio: st_sensors: switch to a threaded interrupt 2016-05-29 20:21:41 +01:00
adc 2nd set of new device support, features and cleanup for IIO in the 4.7 cycle. 2016-04-26 15:07:23 -07:00
amplifiers
buffer iio: buffer-dmaengine: Use dmaengine_terminate_sync() 2016-02-09 21:05:17 +00:00
chemical iio: convert to common i2c_check_functionality() return value 2016-02-27 17:17:43 +00:00
common iio: st_sensors: Init trigger before irq request 2016-05-29 20:25:27 +01:00
dac iio: dac: ad5592r: Off by one bug in ad5592r_alloc_channels() 2016-05-04 10:52:43 +01:00
dummy
frequency iio: frequency: ad9523: use unsigned int rather then bare unsigned 2016-04-17 10:31:03 +01:00
gyro iio: st_sensors: switch to a threaded interrupt 2016-05-29 20:21:41 +01:00
health iio: health: max30100: correct FIFO check condition 2016-03-28 10:09:58 +01:00
humidity iio: humidity: hdc100x: fix IIO_TEMP channel reporting 2016-05-29 19:45:54 +01:00
imu iio: bmi160: Fix ODR setting 2016-05-04 10:50:36 +01:00
light iio: light: bh1780: assign a static name 2016-05-29 19:51:29 +01:00
magnetometer iio: st_sensors: switch to a threaded interrupt 2016-05-29 20:21:41 +01:00
orientation
potentiometer iio: potentiometer: add driver for Maxim Integrated DS1803 2016-04-10 12:34:09 +01:00
pressure iio: st_sensors: switch to a threaded interrupt 2016-05-29 20:21:41 +01:00
proximity iio: proximity: as3935: fix buffer stack trashing 2016-05-22 20:54:15 +01:00
temperature iio: convert to common i2c_check_functionality() return value 2016-02-27 17:17:43 +00:00
trigger
iio_core.h
iio_core_trigger.h
industrialio-buffer.c iio: fix config watermark initial value 2016-03-28 11:00:38 +01:00
industrialio-configfs.c
industrialio-core.c iio:core: mounting matrix support 2016-04-23 22:13:05 +01:00
industrialio-event.c
industrialio-sw-trigger.c
industrialio-trigger.c
industrialio-triggered-event.c
inkern.c iio: core: Add devm_ APIs for iio_channel_{get,release}_all 2016-04-19 19:58:15 +01:00
Kconfig
Makefile