Commit 67e0e9f8 authored by Eric Kuzmenko's avatar Eric Kuzmenko
Browse files

Make sure LCD backlight stays off

parent 942f290a
Pipeline #4815 passed with stage
in 34 minutes and 42 seconds
...@@ -240,8 +240,8 @@ static int jh057n_enable(struct drm_panel *panel) ...@@ -240,8 +240,8 @@ static int jh057n_enable(struct drm_panel *panel)
return ret; return ret;
if (ctx->backlight) { if (ctx->backlight) {
ctx->backlight->props.state &= ~BL_CORE_FBBLANK; ctx->backlight->props.power = FB_BLANK_POWERDOWN;
ctx->backlight->props.power = FB_BLANK_UNBLANK; ctx->backlight->props.state |= BL_CORE_FBBLANK;
backlight_update_status(ctx->backlight); backlight_update_status(ctx->backlight);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment