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>
This commit is contained in:
committed by
Sekhar Nori
parent
b23b29506a
commit
d2e04b1f90
@@ -23,7 +23,6 @@ static void pdata_quirks_check(struct pdata_init *quirks)
|
|||||||
if (of_machine_is_compatible(quirks->compatible)) {
|
if (of_machine_is_compatible(quirks->compatible)) {
|
||||||
if (quirks->fn)
|
if (quirks->fn)
|
||||||
quirks->fn();
|
quirks->fn();
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
quirks++;
|
quirks++;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user