OpenCloudOS-Kernel/drivers/iio/common/hid-sensors
Srinivas Pandruvada 55a6f9ddfd iio: hid_sensor_hub: Fix indio_dev->trig assignment
This can result in wrong reference count for trigger device, call
iio_trigger_get to increment reference.
Refer to http://www.spinics.net/lists/linux-iio/msg13669.html for discussion
with Jonathan.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Cc: Stable@vger.kernel.org
2014-08-25 21:48:39 +01:00
..
Kconfig iio: hid-sensors: Fix power and report state 2013-12-02 21:05:32 +00:00
Makefile iio: hid-sensors: respect CONFIG_IIO_TRIGGER 2012-12-27 10:59:50 +00:00
hid-sensor-attributes.c iio: hid-sensors: make hid_sensor_get_reporting_interval static 2014-07-07 13:29:49 +01:00
hid-sensor-trigger.c iio: hid_sensor_hub: Fix indio_dev->trig assignment 2014-08-25 21:48:39 +01:00
hid-sensor-trigger.h iio: hid-sensors: Add API to power on/off 2014-05-05 10:59:49 +01:00