Skip to content
Commit 8ec3c045 authored by Jared Kangas's avatar Jared Kangas Committed by Alberto Escolar
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>
parent b413b505
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment