Merge "disp: msm: extend the maximum value of backlight scale"
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

commit
2d9a52fe5c
@@ -230,6 +230,8 @@ int dsi_display_set_backlight(struct drm_connector *connector,
|
||||
|
||||
bl_scale_sv = panel->bl_config.bl_scale_sv;
|
||||
bl_temp = (u32)bl_temp * bl_scale_sv / MAX_SV_BL_SCALE_LEVEL;
|
||||
if (bl_temp > panel->bl_config.bl_max_level)
|
||||
bl_temp = panel->bl_config.bl_max_level;
|
||||
|
||||
DSI_DEBUG("bl_scale = %u, bl_scale_sv = %u, bl_lvl = %u\n",
|
||||
bl_scale, bl_scale_sv, (u32)bl_temp);
|
||||
|
Viittaa uudesa ongelmassa
Block a user