projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d97556c
)
ARM: OMAP2+: Fix init for multiple quirks for the same SoC
author
Tony Lindgren
<tony@atomide.com>
Thu, 5 Jan 2017 19:08:20 +0000
(11:08 -0800)
committer
Tony Lindgren
<tony@atomide.com>
Fri, 6 Jan 2017 16:54:24 +0000
(08:54 -0800)
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>
arch/arm/mach-omap2/pdata-quirks.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-omap2/pdata-quirks.c
b/arch/arm/mach-omap2/pdata-quirks.c
index 477910a48448d653b2de22339d60c61b967aa8e3..58d87a78cb90f8618fe1548db77982df5e7c61f5 100644
(file)
--- 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++;
}