On Tue, 29 Jan 2013 15:53:43 +0100, Andreas Larsson wrote:
> Holes in the cs-gpios DT phandle list is supposed to mark that native
> chipselects is to be used. The value returned from of_get_named_gpio_flags in
> this case is -EEXIST. By initializing cs_gpios and cs_gpio with -EEXIST, this
> and o
On Tue, 29 Jan 2013 15:53:42 +0100, Andreas Larsson wrote:
> When using a gpio chip select with a OF_GPIO_ACTIVE_LOW flag, this needs to be
> known to the controller driver.
>
> Signed-off-by: Andreas Larsson
Out of curiosity, what do you need the flags for? Polarity of the CS
signal? I think i
On Tue, 29 Jan 2013 15:53:41 +0100, Andreas Larsson wrote:
> This adds missing kernel-doc entries for cs_gpios in struct spi_master and
> cs_gpio in struct spi_device.
>
> Signed-off-by: Andreas Larsson
Applied, thanks. I did tweak the language a bit.
g.
> ---
> include/linux/spi/spi.h |
On Tue, 29 Jan 2013 15:53:40 +0100, Andreas Larsson wrote:
> Using memset does not set an array of integers properly
>
> Signed-off-by: Andreas Larsson
Applied, thanks.
g.
> ---
> drivers/spi/spi.c |3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/spi/s
On Tue, 29 Jan 2013 15:53:39 +0100, Andreas Larsson wrote:
> This lets of_gpio_named_count return an errno on errors by being able to
> distinguish between reaching the end of the phandle list and getting some
> other
> error from of_parse_phandle_with_args.
>
> Return error from of_spi_register