From: Bartosz Golaszewski Date: Tue, 28 Feb 2017 16:01:55 +0000 (+0100) Subject: ARM: davinci: allow having multiple pdata-quirks X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d2e04b1f90ef1f919d69adcea4b9706db36ccaec;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Reviewed-by: Kevin Hilman Signed-off-by: Sekhar Nori --- 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++; }