summaryrefslogtreecommitdiff
path: root/drivers/iio/proximity/sx9500.c
diff options
context:
space:
mode:
authorAlison Schofield <amsfield22@gmail.com>2017-01-20 23:39:32 +0300
committerJonathan Cameron <jic23@kernel.org>2017-01-21 15:20:40 +0300
commit80dea21f95a4672cce545f48dc2ca500b69a2584 (patch)
treeb862581cff4ad7e56196d06ea170cedb23cc4ddb /drivers/iio/proximity/sx9500.c
parent0bf1a2aac6c5ea30eca6d99791037a7b7abd8d76 (diff)
downloadlinux-80dea21f95a4672cce545f48dc2ca500b69a2584.tar.xz
iio: magnetometer: mag3110: claim direct mode during raw writes
Driver was checking for direct mode but not locking it. Use claim/release helper functions to guarantee the device stays in direct mode during raw writes. Signed-off-by: Alison Schofield <amsfield22@gmail.com> Acked-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/proximity/sx9500.c')
0 files changed, 0 insertions, 0 deletions