mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
iio: mlx90614: Check for errors in read values
The device uses the MSB of the returned temperature value as an error flag. Return a read error when this bit is set. Signed-off-by: Vianney le Clément de Saint-Marcq <vianney.leclement@essensium.com> Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
parent
eb4b07dae4
commit
d02e0f8f62
1 changed files with 5 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue