summaryrefslogtreecommitdiffstats
path: root/drivers/iio/imu
diff options
context:
space:
mode:
authorJustin Chen <justinpopo6@gmail.com>2019-02-28 14:16:48 -0800
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-04-04 20:19:41 +0100
commitabbde2792999c9ad3514dd25d7f8d9a96034fe16 (patch)
treea095942eb1564eab08838b695768564376653d73 /drivers/iio/imu
parentbe35d281da6af5f147383f06d050426901b2d25f (diff)
downloadlinux-abbde2792999c9ad3514dd25d7f8d9a96034fe16.tar.bz2
iio: adc: ti-ads7950: Fix improper use of mlock
Indio->mlock is used for protecting the different iio device modes. It is currently not being used in this way. Replace the lock with an internal lock specifically used for protecting the SPI transfer buffer. Signed-off-by: Justin Chen <justinpopo6@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/imu')
0 files changed, 0 insertions, 0 deletions