linux/drivers/iio/common/hid-sensors
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
..
hid-sensor-attributes.c hid: iio: rename struct hid_sensor_iio_common to hid_sensor_common 2013-01-06 11:48:11 +00:00
hid-sensor-trigger.c iio: hid_Sensors: fix crash during trigger unregister 2013-11-02 19:07:06 +00:00
hid-sensor-trigger.h iio: hid_Sensors: fix crash during trigger unregister 2013-11-02 19:07:06 +00:00
Kconfig iio: hid-sensors: respect CONFIG_IIO_TRIGGER 2012-12-27 10:59:50 +00:00
Makefile iio: hid-sensors: respect CONFIG_IIO_TRIGGER 2012-12-27 10:59:50 +00:00