From 692f07355210d840a96d8e081ce49cbe9f2f62eb Mon Sep 17 00:00:00 2001 From: shuoyan Date: Wed, 7 Oct 2020 11:13:47 -0500 Subject: [PATCH] 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 Reviewed-by: Shuo Yan Submit-Approved: Jira Key --- msm/dsi/dsi_display.c | 1 + 1 file changed, 1 insertion(+) diff --git a/msm/dsi/dsi_display.c b/msm/dsi/dsi_display.c index ec139ac49bc1..425e33d097c2 100644 --- a/msm/dsi/dsi_display.c +++ b/msm/dsi/dsi_display.c @@ -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; }