Merge "disp: msm: dsi: Handle absence of dsi select clocks in device-tree"

This commit is contained in:
qctecmdr 2022-11-15 01:55:43 -08:00 • committed by Gerrit - the friendly Code Review server
commit 73a4620464

View file

@ -3558,6 +3558,12 @@ static int dsi_display_clocks_init(struct dsi_display *display)
num_clk = dsi_display_get_clocks_count(display, dsi_clock_name);
if (num_clk <= 0) {
rc = num_clk;
DSI_WARN("failed to read %s, rc = %d\n", dsi_clock_name, num_clk);
goto error;
}
DSI_DEBUG("clk count=%d\n", num_clk);
for (i = 0; i < num_clk; i++) {