Revert "disp: msm: dsi: Add print info for DSI_CTRL"

This reverts commit 3a743de84d19295179568ab2f75f6018fd003445.

Fixes build error

techpack/display/msm/dsi/dsi_display.c:8542:27: error: unused variable 'ctrl' [
-Werror,-Wunused-variable]
 8542 |         struct dsi_display_ctrl *ctrl = &display->ctrl[0];

by reverting Motorola commit
942f7d4bcf
which also reduces log spam.

Change-Id: I3a394ecf8c452eecd367236e0b01f48e5b2d1b0a
Signed-off-by: Sevenrock <sevenrock@hotmail.de>
This commit is contained in:
Sevenrock 2024-12-08 23:01:50 +01:00 • committed by Michael Bestas
commit e0b453a419
No known key found for this signature in database

View file

@ -8550,7 +8550,6 @@ int dsi_display_prepare(struct dsi_display *display)
{
int rc = 0;
struct dsi_display_mode *mode;
struct dsi_display_ctrl *ctrl = &display->ctrl[0];
if (!display) {
DSI_ERR("Invalid params\n");
@ -8562,9 +8561,7 @@ int dsi_display_prepare(struct dsi_display *display)
return -EINVAL;
}
DSI_INFO("panel_name=%s ctrl-index=%d\n",
display->panel->name, ctrl->ctrl->cell_index);
DSI_INFO("%s(%s)+\n", __func__, display->drm_conn->name);
SDE_EVT32(SDE_EVTLOG_FUNC_ENTRY);
mutex_lock(&display->display_lock);