Skip to content
Commit 6fc41c1c authored by Abderrahmane Jarmouni's avatar Abderrahmane Jarmouni Committed by Anas Nashif
Browse files

drivers: display: stm32_ltdc: fix return value



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: default avatarAbderrahmane Jarmouni <git@jarmouni.me>
(cherry picked from commit f7de44df)
parent b258fb02
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment