diff options
author | Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> | 2014-08-22 21:48:00 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-08-25 21:48:04 +0100 |
commit | 0668a4e4d297328ce08b44d91d160537596115e2 (patch) | |
tree | 31c1927cd876c6263bf802844e9438fa9c56c58e /mm | |
parent | f153566570fb9e32c2f59182883f4f66048788fb (diff) | |
download | op-kernel-dev-0668a4e4d297328ce08b44d91d160537596115e2.zip op-kernel-dev-0668a4e4d297328ce08b44d91d160537596115e2.tar.gz |
iio: accel: bma180: 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
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions