Skip to content
Snippets Groups Projects
Commit 6e613ebf authored by Tony Lindgren's avatar Tony Lindgren
Browse files

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
No related branches found
No related tags found
No related merge requests found
...@@ -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++;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment