Skip to content
Commit b5d53e92 authored by Jared Kangas's avatar Jared Kangas Committed by Johan Hedberg
Browse files

drivers: adc: lmp90xxx: fix checksum mismatch return value



During channel reads, zero is returned on CRC mismatches: the returned
error variable is not written to after a previous non-zero check. Return
-EIO to mirror other drivers' checksum validation behaviors.

Signed-off-by: default avatarJared Kangas <kangas.jd@gmail.com>
(cherry picked from commit 8ec3c045)
parent aa96c4d3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment