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


Groups > linux.kernel > #1589663

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

From Kevin Hilman <khilman@baylibre.com>
Newsgroups linux.kernel
Subject Re: [PATCH v3 1/6] ARM: davinci: da8xx: allow having multiple pdata-quirks
Date 2017-02-28 19:10 +0100
Message-ID <tfUnM-85M-25@gated-at.bofh.it> (permalink)
References <tdFVT-2TB-1@gated-at.bofh.it> <tdFVU-2TB-17@gated-at.bofh.it>
Organization BayLibre

Show all headers | View raw


Bartosz Golaszewski <bgolaszewski@baylibre.com> writes:

> 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>

> ---
>  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++;
>  	}

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


Thread

[PATCH v3 0/6] ARM: davinci: vpif capture & display support Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2017-02-22 15:20 +0100
  [PATCH v3 1/6] ARM: davinci: da8xx: allow having multiple pdata-quirks Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2017-02-22 15:20 +0100
    Re: [PATCH v3 1/6] ARM: davinci: da8xx: allow having multiple pdata-quirks Kevin Hilman <khilman@baylibre.com> - 2017-02-28 19:10 +0100
  [PATCH v3 4/6] ARM: da850-evm: add a fixed regulator for the UI board IO expander Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2017-02-22 15:20 +0100
  [PATCH v3 5/6] ARM: davinci: add pdata-quirks for da850-evm vpif display Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2017-02-22 15:20 +0100
  [PATCH v3 2/6] ARM: davinci: board-da850-evm: add I2C ID for VPIF Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2017-02-22 15:20 +0100
  [PATCH v3 3/6] ARM: davinci: da8xx: add pdata-quirks for VPIF capture Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2017-02-22 15:20 +0100
    Re: [PATCH v3 3/6] ARM: davinci: da8xx: add pdata-quirks for VPIF  capture Sekhar Nori <nsekhar@ti.com> - 2017-02-28 10:00 +0100
  [PATCH v3 6/6] ARM: davinci: add enable GPIOs for vpif capture to pdata-quirks Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2017-02-22 15:20 +0100
    Re: [PATCH v3 6/6] ARM: davinci: add enable GPIOs for vpif capture to  pdata-quirks Sekhar Nori <nsekhar@ti.com> - 2017-02-28 10:10 +0100
      Re: [PATCH v3 6/6] ARM: davinci: add enable GPIOs for vpif capture to pdata-quirks Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2017-02-28 11:00 +0100

csiph-web