From: Manuel Lauss Date: Wed, 29 Jan 2014 18:11:46 +0000 (+0100) Subject: MIPS: Alchemy: Fix DB1100 GPIO registration X-Git-Tag: v3.14-rc2~13^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4294ad1c52caad3239404cea9e0cbfeb435e3a25;p=pandora-kernel.git 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 Cc: Linux-MIPS Patchwork: https://patchwork.linux-mips.org/patch/6497/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed