-
Alison Schofield authored
[ Upstream commit 6b2e7589 ] 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>
f89e6693