Merge "disp: msm: dsi: improve logs for dual display case"
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
50d75b078f
@@ -1,5 +1,6 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2016-2021, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
@@ -1214,7 +1215,8 @@ int dsi_clk_req_state(void *client, enum dsi_clk_type clk,
|
||||
if (changed) {
|
||||
rc = dsi_recheck_clk_state(mngr);
|
||||
if (rc)
|
||||
DSI_ERR("Failed to adjust clock state rc = %d\n", rc);
|
||||
DSI_ERR("[%s]%s: failed to adjust clock state rc = %d\n",
|
||||
mngr->name, c->name, rc);
|
||||
}
|
||||
|
||||
mutex_unlock(&mngr->clk_mutex);
|
||||
|
||||
@@ -5279,7 +5279,7 @@ static int _dsi_display_dev_init(struct dsi_display *display)
|
||||
rc = dsi_display_res_init(display);
|
||||
if (rc) {
|
||||
DSI_ERR("[%s] failed to initialize resources, rc=%d\n",
|
||||
display->name, rc);
|
||||
display->name, rc);
|
||||
goto error;
|
||||
}
|
||||
error:
|
||||
@@ -5896,7 +5896,7 @@ static int dsi_display_init(struct dsi_display *display)
|
||||
|
||||
rc = _dsi_display_dev_init(display);
|
||||
if (rc) {
|
||||
DSI_ERR("device init failed, rc=%d\n", rc);
|
||||
DSI_ERR("device init failed for %s, rc=%d\n", display->display_type, rc);
|
||||
goto end;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user