Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1589595

[PATCH v4 1/6] ARM: davinci: da8xx: allow having multiple pdata-quirks

From Bartosz Golaszewski <bgolaszewski@baylibre.com>
Newsgroups linux.kernel
Subject [PATCH v4 1/6] ARM: davinci: da8xx: allow having multiple pdata-quirks
Date 2017-02-28 17:20 +0100
Message-ID <tfSFk-6Rj-23@gated-at.bofh.it> (permalink)
References <tfSFk-6Rj-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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>
---
 arch/arm/mach-davinci/pdata-quirks.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/mach-davinci/pdata-quirks.c b/arch/arm/mach-davinci/pdata-quirks.c
index 5b57da4..36fb217 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++;
 	}
-- 
2.9.3

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v4 1/6] ARM: davinci: da8xx: allow having multiple pdata-quirks Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2017-02-28 17:20 +0100
  Re: [PATCH v4 1/6] ARM: davinci: da8xx: allow having multiple  pdata-quirks Sekhar Nori <nsekhar@ti.com> - 2017-03-07 12:10 +0100

csiph-web