disp: msm: fix compilation errors for dlkm compilation
Fix dlkm compilation errors that are due to the use of -Werror flags used by the build system. Change-Id: I5e1e9bc63c1361d73e4930aab123212717872ecb Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
这个提交包含在:
@@ -584,7 +584,7 @@ static int dsi_panel_update_pwm_backlight(struct dsi_panel *panel,
|
||||
|
||||
rc = pwm_config(bl->pwm_bl, duty, period_ns);
|
||||
if (rc) {
|
||||
DSI_ERR("[%s] failed to change pwm config, rc=\n", panel->name,
|
||||
DSI_ERR("[%s] failed to change pwm config, rc=%d\n", panel->name,
|
||||
rc);
|
||||
goto error;
|
||||
}
|
||||
@@ -598,7 +598,7 @@ static int dsi_panel_update_pwm_backlight(struct dsi_panel *panel,
|
||||
if (bl_lvl != 0 && !bl->pwm_enabled) {
|
||||
rc = pwm_enable(bl->pwm_bl);
|
||||
if (rc) {
|
||||
DSI_ERR("[%s] failed to enable pwm, rc=\n", panel->name,
|
||||
DSI_ERR("[%s] failed to enable pwm, rc=%d\n", panel->name,
|
||||
rc);
|
||||
goto error;
|
||||
}
|
||||
|
在新工单中引用
屏蔽一个用户