linux/drivers/iio
Darshana Padmadas 4ce7ca89d6 iio: imu: Use iio_trigger_get for indio_dev->trig assignment
This patch uses iio_trigger_get to increment the reference
count of trigger device, to avoid incorrect assignment.
Can result in a null pointer dereference during removal if the
trigger has been changed before removal.

This patch refers to a similar situation encountered through the
following discussion:
http://www.spinics.net/lists/linux-iio/msg13669.html

Signed-off-by: Darshana Padmadas <darshanapadmadas@gmail.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2015-03-28 13:51:40 +00:00
..
accel iio: bmc150: change sampling frequency 2015-03-14 18:35:59 +00:00
adc iio: adc: vf610: use ADC clock within specification 2015-03-28 12:00:02 +00:00
amplifiers
common iio: common: ssp_sensors: Protect PM-only functions to kill warning 2015-02-22 09:46:55 +00:00
dac iio: ad5686: fix optional reference voltage declaration 2015-02-04 16:54:38 +00:00
frequency
gyro iio: fix drivers that check buffer->scan_mask 2015-03-07 19:17:07 +00:00
humidity IIO: si7020: Allocate correct amount of memory in devm_iio_device_alloc 2015-02-14 11:35:12 +00:00
imu iio: imu: Use iio_trigger_get for indio_dev->trig assignment 2015-03-28 13:51:40 +00:00
light Second round of IIO fixes for the 4.0 cycle (or round one part two really!) 2015-02-28 07:19:27 -08:00
magnetometer iio: ak8975: fix AK09911 dependencies 2015-02-28 11:26:54 +00:00
orientation
pressure
proximity iio: fix drivers that check buffer->scan_mask 2015-03-07 19:17:07 +00:00
temperature
trigger
Kconfig Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild 2015-02-19 10:36:45 -08:00
Makefile
buffer_cb.c
iio_core.h
iio_core_trigger.h
industrialio-buffer.c
industrialio-core.c iio: core: Fix double free. 2015-03-14 18:54:14 +00:00
industrialio-event.c iio: core: Fix double free. 2015-03-14 18:54:14 +00:00
industrialio-trigger.c
industrialio-triggered-buffer.c
inkern.c
kfifo_buf.c