summaryrefslogtreecommitdiffstats
path: root/drivers/iio/imu
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2019-02-20 18:23:44 +0000
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-04-04 20:19:57 +0100
commit20d9248e704a3a852cfc35a4003732349cb7cf3d (patch)
tree0f5c42b35bb1d26b6a8da1a0b373a514fc99c6d9 /drivers/iio/imu
parentd626be00e856c0cec3b5f420e7f061829538d63b (diff)
downloadlinux-20d9248e704a3a852cfc35a4003732349cb7cf3d.tar.bz2
iio:dac:ad5064 mlock cleanup - move to a local lock.
indio_dev->mlock is intended to protect state transitions in the core. It's scope is tightly defined. For device specific uses such as those made here, we should define a local lock allowing the scope of the lock to be defined near to what it is protecting. These mlock changes can be non obvious, but given we don't do anything other than direct for DACs, these ones are easy to do. If anyone wants to help with this particular effort it would be most welcome! Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/imu')
0 files changed, 0 insertions, 0 deletions