summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorAlison Schofield <amsfield22@gmail.com>2017-01-20 14:11:30 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-15 15:53:14 +0100
commitf89e669323adfc43ac881f7c38904c911140f983 (patch)
tree0bde8d16e489ed52c052b16cdd8633195c15cac8 /Documentation
parent6d8897645b984fee86d260b1b0ad7044b27e6d59 (diff)
iio: proximity: sx9500: claim direct mode during raw proximity reads
[ Upstream commit 6b2e7589b82ff534dd5c6d67dd83c53f13691bec ] Driver was checking for direct mode but not locking it. Use the claim/release helper functions to guarantee the device stays in direct mode during raw reads of proximity data. Signed-off-by: Alison Schofield <amsfield22@gmail.com> Reviewed-by: Vlad Dogaru <ddvlad@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions