summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/pdata-quirks.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2017-01-05 22:08:20 +0300
committerTony Lindgren <tony@atomide.com>2017-01-06 19:54:24 +0300
commit6e613ebf4405fc09e2a8c16ed193b47f80a3cbed (patch)
tree81c26a64962321fa95d6a404f7a58834b6dc7687 /arch/arm/mach-omap2/pdata-quirks.c
parentd97556c8012015901a3ce77f46960078139cd79d (diff)
downloadlinux-6e613ebf4405fc09e2a8c16ed193b47f80a3cbed.tar.xz
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>
Diffstat (limited to 'arch/arm/mach-omap2/pdata-quirks.c')
-rw-r--r--arch/arm/mach-omap2/pdata-quirks.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/pdata-quirks.c b/arch/arm/mach-omap2/pdata-quirks.c
index 477910a48448..58d87a78cb90 100644
--- a/arch/arm/mach-omap2/pdata-quirks.c
+++ b/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++;
}