linux/drivers/iio/common
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
..
hid-sensors iio: common: hid-sensors: use tab for indention 2016-04-16 13:39:26 +01:00
ms_sensors iio: common: ms_sensors: use tab for indention 2016-04-16 13:39:25 +01:00
ssp_sensors spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
st_sensors iio: st_sensors: Init trigger before irq request 2016-05-29 20:25:27 +01:00
Kconfig Add meas-spec sensors common part 2015-10-04 14:58:02 +01:00
Makefile Add meas-spec sensors common part 2015-10-04 14:58:02 +01:00