Skip to content

Commit 955840e

Browse files
tmlindgregkh
authored andcommitted
ARM: OMAP2+: Fix init for multiple quirks for the same SoC
[ Upstream commit 6e613ebf4405fc09e2a8c16ed193b47f80a3cbed ] 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> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 4a23041 commit 955840e

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

arch/arm/mach-omap2/pdata-quirks.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,6 @@ static void pdata_quirks_check(struct pdata_init *quirks)
522522
if (of_machine_is_compatible(quirks->compatible)) {
523523
if (quirks->fn)
524524
quirks->fn();
525-
break;
526525
}
527526
quirks++;
528527
}

0 commit comments

Comments
 (0)