disp: msm: fix printk argument errors

This change fixes printk arguments in display driver which is
found with additional compilation flags and adds the compile
flags too.

Change-Id: Ic653591db49b49b9ce1ce04e7df89216772d0e71
Signed-off-by: Nilaan Gunabalachandran <quic_ngunabal@quicinc.com>
This commit is contained in:
Nilaan Gunabalachandran
2022-11-08 14:10:10 -05:00
committed by Gerrit - the friendly Code Review server
parent 58285a9dd0
commit 275c881ae4
3 changed files with 5 additions and 3 deletions

View File

@@ -1294,7 +1294,7 @@ static int dsi_panel_parse_avr_caps(struct dsi_panel *panel,
return rc;
} else if (val > 1 && val != panel->dfps_caps.dfps_list_len) {
DSI_ERR("[%s] avr step list size %d not same as dfps list %d\n",
val, panel->dfps_caps.dfps_list_len);
panel->name, val, panel->dfps_caps.dfps_list_len);
return -EINVAL;
}