Skip to content
Commit 4769dbb6 authored by Jared Kangas's avatar Jared Kangas Committed by Henrik Brix Andersen
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 b27d3a61
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment