From aa252c3330549241da20ef1aaa2351d588cdb2ed Mon Sep 17 00:00:00 2001 From: dengwei1 Date: Wed, 11 Mar 2020 14:10:01 +0800 Subject: [PATCH] guam: input add drm support input add drm support Change-Id: I156438665fb27d9a1f5afeaec11ef4fd736ea812 Signed-off-by: dengwei1 Reviewed-on: https://gerrit.mot.com/1510616 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Hua Tan Submit-Approved: Jira Key --- msm/dsi/dsi_panel.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) mode change 100644 => 100755 msm/dsi/dsi_panel.c diff --git a/msm/dsi/dsi_panel.c b/msm/dsi/dsi_panel.c old mode 100644 new mode 100755 index 6ed5910015a6..e1f231f13c00 --- a/msm/dsi/dsi_panel.c +++ b/msm/dsi/dsi_panel.c @@ -733,23 +733,12 @@ static int dsi_panel_update_pwm_backlight(struct dsi_panel *panel, error: return rc; } -//temp solution for TP, tinno 20200229 start -#include -BLOCKING_NOTIFIER_HEAD(backlight_state_notifier_list); -//temp solution for TP, tinno 20200229 end + int dsi_panel_set_backlight(struct dsi_panel *panel, u32 bl_lvl) { int rc = 0; struct dsi_backlight_config *bl = &panel->bl_config; -//temp solution for TP, tinno 20200229 start - static u32 last_bl_lvl = 0; - if ((bl_lvl == 0) || (last_bl_lvl == 0)) - { - blocking_notifier_call_chain(&backlight_state_notifier_list, bl_lvl, NULL); - } - last_bl_lvl = bl_lvl; -//temp solution for TP, tinno 20200229 end if (panel->host_config.ext_bridge_mode) return 0;