]> asedeno.scripts.mit.edu Git - linux.git/commit
gpio: of: Handle the Freescale SPI CS
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 13 Dec 2018 14:22:47 +0000 (15:22 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 31 May 2019 10:27:11 +0000 (12:27 +0200)
commite3023bf80639afc6603f9633eb301845421b8917
treeb1c9b4cbdf1a369eef30970d10749d0e9c538cf3
parent910f38bed9439e765f7e240edfe32b5f04ad92f5
gpio: of: Handle the Freescale SPI CS

The Freescale SPI chipselects are special: while everyone else
is using "cs-gpios" the Freescale platforms just use "gpios".
Fix this by responding with "gpios" when asking for "cs-gpios"
in a freescale device node, so we hide this pecularity from
the SPI core.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib-of.c