summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/pdata-quirks.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2017-01-05 11:08:20 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-21 09:21:19 +0100
commit955840ea50355cdd400683b1ee5c3ac0017cc160 (patch)
treee9b8f46bdac0aa3f60264ae7f622b1b4732da941 /arch/arm/mach-omap2/pdata-quirks.c
parent4a23041fa5335908acb5a4fef62c1aedfe8ac0b1 (diff)
downloadlinux-stable-955840ea50355cdd400683b1ee5c3ac0017cc160.tar.gz
linux-stable-955840ea50355cdd400683b1ee5c3ac0017cc160.tar.bz2
linux-stable-955840ea50355cdd400683b1ee5c3ac0017cc160.zip
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>
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 58144779dec4..1e6e09841707 100644
--- a/arch/arm/mach-omap2/pdata-quirks.c
+++ b/arch/arm/mach-omap2/pdata-quirks.c
@@ -522,7 +522,6 @@ static void pdata_quirks_check(struct pdata_init *quirks)
if (of_machine_is_compatible(quirks->compatible)) {
if (quirks->fn)
quirks->fn();
- break;
}
quirks++;
}