File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ static int s6e63j0x03_disable(struct drm_panel *panel)
225
225
if (ret < 0 )
226
226
return ret ;
227
227
228
- ctx -> bl_dev -> props .power = FB_BLANK_NORMAL ;
228
+ ctx -> bl_dev -> props .power = BACKLIGHT_POWER_REDUCED ;
229
229
230
230
ret = mipi_dsi_dcs_enter_sleep_mode (dsi );
231
231
if (ret < 0 )
@@ -245,7 +245,7 @@ static int s6e63j0x03_unprepare(struct drm_panel *panel)
245
245
if (ret < 0 )
246
246
return ret ;
247
247
248
- ctx -> bl_dev -> props .power = FB_BLANK_POWERDOWN ;
248
+ ctx -> bl_dev -> props .power = BACKLIGHT_POWER_OFF ;
249
249
250
250
return 0 ;
251
251
}
@@ -332,7 +332,7 @@ static int s6e63j0x03_prepare(struct drm_panel *panel)
332
332
if (ret < 0 )
333
333
goto err ;
334
334
335
- ctx -> bl_dev -> props .power = FB_BLANK_NORMAL ;
335
+ ctx -> bl_dev -> props .power = BACKLIGHT_POWER_REDUCED ;
336
336
337
337
return 0 ;
338
338
@@ -393,7 +393,7 @@ static int s6e63j0x03_enable(struct drm_panel *panel)
393
393
if (ret < 0 )
394
394
return ret ;
395
395
396
- ctx -> bl_dev -> props .power = FB_BLANK_UNBLANK ;
396
+ ctx -> bl_dev -> props .power = BACKLIGHT_POWER_ON ;
397
397
398
398
return 0 ;
399
399
}
@@ -473,7 +473,7 @@ static int s6e63j0x03_probe(struct mipi_dsi_device *dsi)
473
473
474
474
ctx -> bl_dev -> props .max_brightness = MAX_BRIGHTNESS ;
475
475
ctx -> bl_dev -> props .brightness = DEFAULT_BRIGHTNESS ;
476
- ctx -> bl_dev -> props .power = FB_BLANK_POWERDOWN ;
476
+ ctx -> bl_dev -> props .power = BACKLIGHT_POWER_OFF ;
477
477
478
478
drm_panel_add (& ctx -> panel );
479
479
You can’t perform that action at this time.
0 commit comments