diff options
author | Jonathan Cameron <jic23@kernel.org> | 2016-10-15 15:55:06 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-10-23 19:33:54 +0100 |
commit | 79de2ee469aaef0afb25dde7d65d7fbc91600573 (patch) | |
tree | 24d68067934ecd1891b9c6b9683eb8e94abfcf8a /crypto | |
parent | 4d9b0413e29d61e6382b613f4835118504e65e86 (diff) |
iio: accel: mma8452: claim direct mode during write raw
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 write raw operations.
Signed-off-by: Alison Schofield <amsfield22@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions