summaryrefslogtreecommitdiffstats
path: root/drivers/iio/humidity
diff options
context:
space:
mode:
authorAlison Schofield2016-10-16 07:02:19 +0200
committerJonathan Cameron2016-10-23 20:34:08 +0200
commit4aee987380432c5814ef0275d4041de857dc0617 (patch)
treee5d5e76ac02e7e2e38da763c5b8b3b52194eed79 /drivers/iio/humidity
parentiio: light: ltr501: claim direct mode during select raw reads (diff)
downloadkernel-qcow2-linux-4aee987380432c5814ef0275d4041de857dc0617.tar.gz
kernel-qcow2-linux-4aee987380432c5814ef0275d4041de857dc0617.tar.xz
kernel-qcow2-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 'drivers/iio/humidity')
0 files changed, 0 insertions, 0 deletions