diff options
author | Alison Schofield <amsfield22@gmail.com> | 2016-08-18 18:09:00 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-08-21 20:37:35 +0200 |
commit | 197399dcd7726b6b86d2c46700c9be05f5b85425 (patch) | |
tree | e79499b55ff42ad6cbcdc9d9dc65bc233762ef5e /drivers/iio/temperature | |
parent | staging: iio: ade7854: checkpatch fixes (alignment of parameters) (diff) | |
download | linux-197399dcd7726b6b86d2c46700c9be05f5b85425.tar.xz linux-197399dcd7726b6b86d2c46700c9be05f5b85425.zip |
iio: magnetometer: mag3110: claim direct mode during 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 raw reads.
Signed-off-by: Alison Schofield <amsfield22@gmail.com>
Cc: Daniel Baluta <daniel.baluta@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/temperature')
0 files changed, 0 insertions, 0 deletions