提交 6e613ebf 编写于 作者: T 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: NTony Lindgren <tony@atomide.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册