Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport v3.5-branch] drivers: adc: lmp90xxx: fix checksum mismatch return value #75383

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

zephyrbot
Copy link
Collaborator

@zephyrbot zephyrbot commented Jul 3, 2024

Backport 8ec3c04 from #75206.

Fixes: #75373

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)
@zephyrbot zephyrbot requested a review from anangl as a code owner July 3, 2024 13:29
@zephyrbot zephyrbot added Backport Backport PR and backport failure issues area: ADC Analog-to-Digital Converter (ADC) labels Jul 3, 2024
@henrikbrixandersen henrikbrixandersen added this to the v3.5.1 milestone Jul 3, 2024
@jhedberg jhedberg merged commit b5d53e9 into v3.5-branch Jul 8, 2024
21 checks passed
@jhedberg jhedberg deleted the backport-75206-to-v3.5-branch branch July 8, 2024 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ADC Analog-to-Digital Converter (ADC) Backport Backport PR and backport failure issues
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

6 participants