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.6-branch] drivers: adc: lmp90xxx: fix checksum mismatch return value #75384

Merged
merged 1 commit into from
Jul 5, 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 added Backport Backport PR and backport failure issues Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc. area: ADC Analog-to-Digital Converter (ADC) labels Jul 3, 2024
@zephyrbot zephyrbot requested a review from anangl July 3, 2024 13:30
@henrikbrixandersen henrikbrixandersen added this to the v3.6.1 milestone Jul 3, 2024
@henrikbrixandersen henrikbrixandersen merged commit 4769dbb into v3.6-branch Jul 5, 2024
21 checks passed
@henrikbrixandersen henrikbrixandersen deleted the backport-75206-to-v3.6-branch branch July 5, 2024 06:32
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 Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants