summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorAlison Schofield <amsfield22@gmail.com>2016-10-15 22:00:53 -0700
committerJonathan Cameron <jic23@kernel.org>2016-10-23 19:34:07 +0100
commit218e95e9769b8335defc09b04244a78546cfb1e0 (patch)
tree5bcf795b8c218c4c6f1123b6855d592627dd23cd /kernel
parentd62e5fee88e26044a48d4b5632c4f89936041d92 (diff)
downloadlinux-218e95e9769b8335defc09b04244a78546cfb1e0.tar.gz
linux-218e95e9769b8335defc09b04244a78546cfb1e0.tar.bz2
linux-218e95e9769b8335defc09b04244a78546cfb1e0.zip
iio: light: ltr501: claim direct mode during select raw reads
Driver was checking for direct mode but not locking it. Use claim/release helper functions to guarantee the device stays in direct mode during required raw read cases. 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