1
0
Fork 0

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: Tony Lindgren <tony@atomide.com>
hifive-unleashed-5.1
Tony Lindgren 2017-01-05 11:08:20 -08:00
parent d97556c801
commit 6e613ebf44
1 changed files with 0 additions and 1 deletions

View File

@ -599,7 +599,6 @@ static void pdata_quirks_check(struct pdata_init *quirks)
if (of_machine_is_compatible(quirks->compatible)) {
if (quirks->fn)
quirks->fn();
break;
}
quirks++;
}