File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -389,7 +389,7 @@ static int otm8009a_backlight_update_status(struct backlight_device *bd)
389
389
return - ENXIO ;
390
390
}
391
391
392
- if (bd -> props .power <= FB_BLANK_NORMAL ) {
392
+ if (bd -> props .power <= BACKLIGHT_POWER_REDUCED ) {
393
393
/* Power on the backlight with the requested brightness
394
394
* Note We can not use mipi_dsi_dcs_set_display_brightness()
395
395
* as otm8009a driver support only 8-bit brightness (1 param).
@@ -465,7 +465,7 @@ static int otm8009a_probe(struct mipi_dsi_device *dsi)
465
465
466
466
ctx -> bl_dev -> props .max_brightness = OTM8009A_BACKLIGHT_MAX ;
467
467
ctx -> bl_dev -> props .brightness = OTM8009A_BACKLIGHT_DEFAULT ;
468
- ctx -> bl_dev -> props .power = FB_BLANK_POWERDOWN ;
468
+ ctx -> bl_dev -> props .power = BACKLIGHT_POWER_OFF ;
469
469
ctx -> bl_dev -> props .type = BACKLIGHT_RAW ;
470
470
471
471
drm_panel_add (& ctx -> panel );
You can’t perform that action at this time.
0 commit comments