summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorAlison Schofield <amsfield22@gmail.com>2016-10-15 22:02:19 -0700
committerJonathan Cameron <jic23@kernel.org>2016-10-23 19:34:08 +0100
commit4aee987380432c5814ef0275d4041de857dc0617 (patch)
treee5d5e76ac02e7e2e38da763c5b8b3b52194eed79 /kernel
parent218e95e9769b8335defc09b04244a78546cfb1e0 (diff)
downloadlinux-4aee987380432c5814ef0275d4041de857dc0617.tar.gz
linux-4aee987380432c5814ef0275d4041de857dc0617.tar.bz2
linux-4aee987380432c5814ef0275d4041de857dc0617.zip
iio: light: ltr501: 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 all raw write operations. 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 'kernel')
0 files changed, 0 insertions, 0 deletions