Commit d39b6ea4 authored by Tony Lindgren's avatar Tony Lindgren

bus: ti-sysc: Fix checking of no-reset-on-init quirk

We are currently only checking for the first entry in the table while
we should check them all. Usual no-idle-on-init is together with
no-reset-on-init, so this has gone unnoticed.

Fixes: 566a9b05 ("bus: ti-sysc: Handle module quirks based dts
configuration")
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 84c7efd6
......@@ -630,7 +630,7 @@ static int sysc_init_dts_quirks(struct sysc *ddata)
for (i = 0; i < ARRAY_SIZE(sysc_dts_quirks); i++) {
prop = of_get_property(np, sysc_dts_quirks[i].name, &len);
if (!prop)
break;
continue;
ddata->cfg.quirks |= sysc_dts_quirks[i].mask;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment