projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db458f6
)
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
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 21 Nov 2017 08:23:22 +0000
(09:23 +0100)
[ 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>
arch/arm/mach-omap2/pdata-quirks.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-omap2/pdata-quirks.c
b/arch/arm/mach-omap2/pdata-quirks.c
index
05e20aa
..
770216b
100644
(file)
--- a/
arch/arm/mach-omap2/pdata-quirks.c
+++ b/
arch/arm/mach-omap2/pdata-quirks.c
@@
-600,7
+600,6
@@
static void pdata_quirks_check(struct pdata_init *quirks)
if (of_machine_is_compatible(quirks->compatible)) {
if (quirks->fn)
quirks->fn();
- break;
}
quirks++;
}