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.7-branch] drivers: display: stm32_ltdc: fix return value #80705

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

zephyrbot
Copy link
Collaborator

@zephyrbot zephyrbot commented Oct 31, 2024

Backport f7de44d from #77950.

Fixes: #75265

Blanking On/Off calls should not return 0 when there is no panel
controller to forward them to, instead they should return ENOSYS to
signal to the application that they were not actually executed.

"device_is_ready" does check for null, but also for
"dev->state->initialized == false", so we need to isolate the
"dev == NULL" case.

Signed-off-by: Abderrahmane Jarmouni <git@jarmouni.me>
(cherry picked from commit f7de44d)
@JarmouniA
Copy link
Collaborator

Fixes #75265

@danieldegrasse
Copy link
Collaborator

danieldegrasse commented Oct 31, 2024

Fixes #75265

@JarmouniA you need to place the text Fixes: #75265 in the description text of the PR to appease the CI check

@JarmouniA
Copy link
Collaborator

JarmouniA commented Oct 31, 2024

Fixes #75265

@JarmouniA you need to place the text Fixes: #75265 in the description text of the PR to appease the CI check

@danieldegrasse I'm unable to edit the PR's description.

@danieldegrasse
Copy link
Collaborator

Fixes #75265

@JarmouniA you need to place the text Fixes: #75265 in the description text of the PR to appease the CI check

@danieldegrasse I'm unable to edit the PR's description.

Ah ok, I went ahead and updated it for you :)

@henrikbrixandersen henrikbrixandersen added this to the v3.7.1 milestone Nov 4, 2024
@nashif nashif merged commit 6fc41c1 into v3.7-branch Nov 5, 2024
28 of 29 checks passed
@nashif nashif deleted the backport-77950-to-v3.7-branch branch November 5, 2024 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Display Backport Backport PR and backport failure issues platform: STM32 ST Micro STM32
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

7 participants