OpenCloudOS-Kernel/drivers/iio/gyro
Srinivas Pandruvada ec7f68e07b iio: hid_Sensors: fix crash during trigger unregister
We can't store the trigger instance created by iio_trigger_alloc, in
trig field of iio_device structure. This needs to be stored in the
driver private data. Othewise it can result in crash during module
unload. Hence created a trig_ptr in the common data structure
for each HID sensor IIO driver and storing here.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2013-11-02 19:07:06 +00:00
..
Kconfig staging:iio:adis16260: Move out of staging 2013-08-03 18:41:22 +01:00
Makefile staging:iio:adis16260: Move out of staging 2013-08-03 18:41:22 +01:00
adis16080.c iio:adis16080: Use spi_sync_transfer() 2013-10-05 11:58:54 +01:00
adis16130.c iio:adis16130: Use spi_sync_transfer() 2013-10-05 12:00:26 +01:00
adis16136.c iio: gyro: adis16136: Use devm_iio_device_alloc 2013-08-17 15:50:54 +01:00
adis16260.c iio: gyro: adis16260: Remove redundant break 2013-09-14 11:37:00 +01:00
adxrs450.c iio:adxrs450: Use spi_sync_transfer() 2013-10-05 11:59:38 +01:00
hid-sensor-gyro-3d.c iio: hid_Sensors: fix crash during trigger unregister 2013-11-02 19:07:06 +00:00
itg3200_buffer.c iio:itg3200: Use iio_push_to_buffers_with_timestamp() 2013-09-21 19:23:56 +01:00
itg3200_core.c iio: gyro: itg3200_core: Use devm_iio_device_alloc 2013-08-17 15:50:56 +01:00
st_gyro.h iio: Added ST-sensors platform data to select the DRDY interrupt pin 2013-08-03 18:40:28 +01:00
st_gyro_buffer.c iio:st_gyro: Remove redundant call to iio_sw_buffer_preenable(). 2013-10-16 19:12:46 +01:00
st_gyro_core.c iio:gyro: Register buffer also without specific trigger 2013-09-21 19:24:08 +01:00
st_gyro_i2c.c iio: gyro: st_gyro: Use devm_iio_device_alloc 2013-08-17 15:50:56 +01:00
st_gyro_spi.c iio: gyro: st_gyro: Use devm_iio_device_alloc 2013-08-17 15:50:56 +01:00