summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2017-02-28 19:01:55 +0300
committerSekhar Nori <nsekhar@ti.com>2017-03-07 14:13:01 +0300
commitd2e04b1f90ef1f919d69adcea4b9706db36ccaec (patch)
tree8835cdb5691a543ed7b18ea2976a219ffe949c1b
parentb23b29506ab5e817d8eac19c5a689f0e2a3140b3 (diff)
downloadlinux-d2e04b1f90ef1f919d69adcea4b9706db36ccaec.tar.xz
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.c1
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)
if (of_machine_is_compatible(quirks->compatible)) {
if (quirks->fn)
quirks->fn();
- break;
}
quirks++;
}