mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
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:
parent
ea3e3a4d0c
commit
692f073552
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue