diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2017-02-28 11:01:55 -0500 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2017-03-07 06:13:01 -0500 |
commit | d2e04b1f90ef1f919d69adcea4b9706db36ccaec (patch) | |
tree | 8835cdb5691a543ed7b18ea2976a219ffe949c1b | |
parent | b23b29506ab5e817d8eac19c5a689f0e2a3140b3 (diff) |
ARM: davinci: allow having multiple pdata-quirks
We currently bail-out after applying a single quirk. We will want
to reuse the function doing the vpif capture registration so remove
the break; and continue iterating over the quirk array.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
-rw-r--r-- | arch/arm/mach-davinci/pdata-quirks.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/pdata-quirks.c b/arch/arm/mach-davinci/pdata-quirks.c index 5b57da475065..36fb2179b910 100644 --- a/arch/arm/mach-davinci/pdata-quirks.c +++ b/arch/arm/mach-davinci/pdata-quirks.c | |||
@@ -23,7 +23,6 @@ static void pdata_quirks_check(struct pdata_init *quirks) | |||
23 | if (of_machine_is_compatible(quirks->compatible)) { | 23 | if (of_machine_is_compatible(quirks->compatible)) { |
24 | if (quirks->fn) | 24 | if (quirks->fn) |
25 | quirks->fn(); | 25 | quirks->fn(); |
26 | break; | ||
27 | } | 26 | } |
28 | quirks++; | 27 | quirks++; |
29 | } | 28 | } |