瀏覽代碼

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>
Tony Lindgren 9 年之前
父節點
當前提交
6e613ebf44
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      arch/arm/mach-omap2/pdata-quirks.c

+ 0 - 1
arch/arm/mach-omap2/pdata-quirks.c

@@ -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++;
 	}