summaryrefslogtreecommitdiff
path: root/include/linux/extcon
diff options
context:
space:
mode:
authorAlexandru Ardelean <alexandru.ardelean@analog.com>2019-09-19 16:23:03 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-10-05 15:54:58 +0100
commit9318a9e547438078104b0e8557f76f0cb524c12e (patch)
tree1c6addabd93aeb8ea214d81f07b8ae7901edca9b /include/linux/extcon
parent81ba7e85d7f3af053b06e8538f7c847587d53935 (diff)
iio: gyro: adis16080: replace mlock with own lock
The lock is used to protect the buffer during reads. Though the spi routines have their own locks, it may be the case that the buffer needs to be protected before it's stored and passed to the IIO read hooks. indio_dev's mlock was used before. This change replaces it with the driver's own lock. Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/extcon')
0 files changed, 0 insertions, 0 deletions