msm/dsi: add backlight debug log when panel is off

There have few cases which no brightnes when panel on.
Add more backlight logs to debug this issue.

Change-Id: I2c25f15f1617f894ecb84efc7c15340cbfc89ad5
Reviewed-on: https://gerrit.mot.com/1783198
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Reviewed-by: Shuo Yan <shuoyan@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
shuoyan 2020-10-07 11:13:47 -05:00 • committed by tongkun1
commit 692f073552

View file

@ -227,6 +227,7 @@ int dsi_display_set_backlight(struct drm_connector *connector,
mutex_lock(&panel->panel_lock);
if (!dsi_panel_initialized(panel)) {
DSI_INFO("Ignor bl_level %u as panel is not init.\n",(u32)bl_lvl);
rc = -EINVAL;
goto error;
}