Re: [PATCH 2/2] gpio: of: Check for "spi-cs-high" in child instead of parent node

From: Linus Walleij
Date: Thu Mar 28 2019 - 12:11:50 EST


On Tue, Mar 26, 2019 at 7:32 AM Andrey Smirnov <andrew.smirnov@xxxxxxxxx> wrote:

> "spi-cs-high" is going to be specified in child node of an SPI
> controller's representing attached SPI device, so change the code to
> look for it there, instead of checking parent node.
>
> Signed-off-by: Andrey Smirnov <andrew.smirnov@xxxxxxxxx>
> Cc: Linus Walleij <linus.walleij@xxxxxxxxxx>
> Cc: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>
> Cc: Chris Healy <cphealy@xxxxxxxxx>
> Cc: linux-gpio@xxxxxxxxxxxxxxx
> Cc: linux-kernel@xxxxxxxxxxxxxxx

Patch applied for fixes.

I could bet I exercised these code paths just the other
week, but I don't know how it all ended up like this... :/

Thanks for fixing it up!!

Yours,
Linus Walleij