Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: Jared Kangas <[email protected]> (cherry picked from commit 8ec3c04)
- Loading branch information