]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: of: Fix logic inversion
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 16 Jan 2019 08:21:10 +0000 (09:21 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 24 Jan 2019 19:03:25 +0000 (19:03 +0000)
commitf05b0cf705a53ad43477ebe4e231b4494914973c
tree3b44fd90e24e7964fe88cd032e12479c5a79ecbe
parent6a6ecc070297dcb3285d11e0a6596dacfcb0805e
gpio: of: Fix logic inversion

The SPI chip selects were not properly inspected due to
a logic inversion. This made SPI GPIOs not work.

Cc: Jan Kotas <jank@cadence.com>
Reported-by: Jan Kotas <jank@cadence.com>
Tested-by: Jan Kotas <jank@cadence.com>
Fixes: 9bc982f86df7 ("spi: Optionally use GPIO descriptors for CS GPIOs")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/gpio/gpiolib-of.c