]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: of: Check for "spi-cs-high" in child instead of parent node
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Tue, 26 Mar 2019 06:32:09 +0000 (23:32 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 28 Mar 2019 16:10:20 +0000 (17:10 +0100)
commit5f66b74d1a411a5545b04d9a3046cb7f310b580c
treefa23231ecd7b8917dd94fbd60d89c5f73da95ad2
parent0c7a2c6b93b2bacb5ba13443f4048dc50bba1d21
gpio: of: Check for "spi-cs-high" in child instead of parent node

"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@gmail.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Cc: Chris Healy <cphealy@gmail.com>
Cc: linux-gpio@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib-of.c