Commit 6e613ebf authored by Tony Lindgren's avatar Tony Lindgren

ARM: OMAP2+: Fix init for multiple quirks for the same SoC

It's possible that there are multiple quirks that need to be initialized
for the same SoC. Fix the issue by not returning on the first match.
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent d97556c8
...@@ -599,7 +599,6 @@ static void pdata_quirks_check(struct pdata_init *quirks) ...@@ -599,7 +599,6 @@ static void pdata_quirks_check(struct pdata_init *quirks)
if (of_machine_is_compatible(quirks->compatible)) { if (of_machine_is_compatible(quirks->compatible)) {
if (quirks->fn) if (quirks->fn)
quirks->fn(); quirks->fn();
break;
} }
quirks++; quirks++;
} }
......
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