mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 22:23:14 -04:00
Merge "disp: msm: dsi: Handle absence of dsi select clocks in device-tree"
This commit is contained in:
commit
73a4620464
1 changed files with 6 additions and 0 deletions
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue