]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Alchemy: Fix DB1100 GPIO registration
authorManuel Lauss <manuel.lauss@gmail.com>
Wed, 29 Jan 2014 18:11:46 +0000 (19:11 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 4 Feb 2014 12:18:02 +0000 (13:18 +0100)
commitba5f54f2b07a051335031ddabc6f9bc9ba720837
tree63161344f54f661e29fd96bc75d06c2fd77f4438
parented4c0e42e851d5178cd0d1dc05de408325576e1c
MIPS: Alchemy: Fix DB1100 GPIO registration

With CONFIG_GPIOLIB=y gpios need to be requested before they can be
modified.  Request the SD carddetect pins, and drop the SPI direction
setup, as the driver does that for us anyway.  This gets rid of a
lot of WARN_ON()s triggered by GPIO core, and restores functionality
of the touschreen controller.

Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Cc: Linux-MIPS <linux-mips@linux-mips.org>
Patchwork: https://patchwork.linux-mips.org/patch/6497/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/alchemy/devboards/db1000.c