summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2017-01-05 11:08:20 -0800
committerSasha Levin <alexander.levin@verizon.com>2017-12-06 21:20:09 -0500
commit1188f297f5c1bd65f1358ecdf05b3afe7d274bcd (patch)
treeff0c504255eabc7d319eac89858222846c9e1670 /arch/arm
parentc7a08d877c2095e536f95f8e915d074fd38637fe (diff)
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>
Diffstat (limited to 'arch/arm')
-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 af11511dda50..d9a044ff0a5d 100644
--- a/arch/arm/mach-omap2/pdata-quirks.c
+++ b/arch/arm/mach-omap2/pdata-quirks.c
@@ -372,7 +372,6 @@ static void pdata_quirks_check(struct pdata_init *quirks)
if (of_machine_is_compatible(quirks->compatible)) {
if (quirks->fn)
quirks->fn();
- break;
}
quirks++;
}