diff options
author | Alison Schofield | 2017-01-20 12:39:32 -0800 |
---|---|---|
committer | Jonathan Cameron | 2017-01-21 12:20:40 +0000 |
commit | 80dea21f95a4672cce545f48dc2ca500b69a2584 (patch) | |
tree | b862581cff4ad7e56196d06ea170cedb23cc4ddb /tools/kvm | |
parent | 0bf1a2aac6c5ea30eca6d99791037a7b7abd8d76 (diff) |
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 'tools/kvm')
0 files changed, 0 insertions, 0 deletions