linux/arch/arm/mach-kirkwood
Sebastian Hesselbarth 0d0644ebc6 ARM: Kirkwood: fix unused mvsdio gpio pins
mvsdio_platform_data allows to pass card detect and write protect gpio
numbers to the driver. Some kirkwood boards don't use both pins as they
are not connected, and don't set the corresponding value in platform_data.

This will leave the unset values in platform_data initialized as 0, which
is in fact a valid gpio pin. mvsdio will grab that pin and configure it as
gpio, which in turn breaks nand controller as mpp0 also carries nand_io2.

This patch fixes the above by initializing unused gpio functions in the
platform_data with an invalid (-1) value.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Reported-by: Soeren Moch <smoch@web.de>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
2013-03-28 16:56:31 +00:00
..
include/mach arm-soc: soc-specific updates 2013-02-21 15:27:22 -08:00
Kconfig ARM: kirkwood: convert Guruplug Server Plus to use the device tree 2013-02-28 18:57:07 +01:00
Makefile ARM: kirkwood: convert Guruplug Server Plus to use the device tree 2013-02-28 18:57:07 +01:00
Makefile.boot
addr-map.c
board-dnskw.c ARM: Kirkwood: Convert dnskw to pinctrl 2012-11-24 02:57:56 +00:00
board-dockstar.c Merge branch 'orion/cleanup' into orion/dt 2012-11-26 01:26:49 -08:00
board-dreamplug.c arm: kirkwood: dreamplug: use Device Tree to probe SDIO 2013-02-28 18:57:10 +01:00
board-dt.c ARM: kirkwood: fix to retain gbe MAC addresses for DT kernels 2013-03-08 21:34:16 +00:00
board-goflexnet.c Merge branch 'orion/cleanup' into orion/dt 2012-11-26 01:26:49 -08:00
board-guruplug.c ARM: kirkwood: convert Guruplug Server Plus to use the device tree 2013-02-28 18:57:07 +01:00
board-ib62x0.c ARM: Kirkwood: Cleanup unneeded include files 2013-01-12 21:50:10 +00:00
board-iconnect.c Merge branch 'orion/cleanup' into orion/dt 2012-11-26 01:26:49 -08:00
board-iomega_ix2_200.c Merge branch 'orion/cleanup' into orion/dt 2012-11-26 01:26:49 -08:00
board-km_kirkwood.c ARM: Kirkwood: Convert km_kirkwood to pinctrl 2012-11-24 02:58:48 +00:00
board-lsxl.c ARM: arm-soc: Board updates for 3.8 2012-12-12 12:14:06 -08:00
board-mplcec4.c arm: kirkwood: mplcec4: use Device Tree to probe SDIO 2013-02-28 18:57:11 +01:00
board-ns2.c ARM: Kirkwood: Convert NS2 to gpio-poweroff. 2013-02-28 18:57:13 +01:00
board-nsa310.c arm-soc: mvebu platform changes 2013-02-28 20:09:24 -08:00
board-openblocks_a6.c ARM: Kirkwood: Convert openblocks A6 board to pinctrl 2013-02-28 18:57:11 +01:00
board-ts219.c Merge branch 'orion/cleanup' into orion/dt 2012-11-26 01:26:49 -08:00
board-usi_topkick.c ARM: kirkwood: topkick: init mvsdio via DT 2013-02-28 18:57:16 +01:00
common.c Merge branch 'timer/cleanup' into late/mvebu2 2013-02-28 18:54:15 +01:00
common.h ARM: kirkwood: nsa310: convert to pinctrl 2013-02-28 18:57:16 +01:00
d2net_v2-setup.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
db88f6281-bp-setup.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
dockstar-setup.c Merge branch 'timer/cleanup' into late/mvebu2 2013-02-28 18:54:15 +01:00
guruplug-setup.c ARM: Kirkwood: fix unused mvsdio gpio pins 2013-03-28 16:56:31 +00:00
irq.c ARM: Kirkwood: Fix sparse warnings. 2012-11-19 03:53:46 +00:00
lacie_v2-common.c ARM: Kirkwood: Fix sparse warnings. 2012-11-19 03:53:46 +00:00
lacie_v2-common.h
mpp.c ARM: Kirkwood: checkpatch cleanups 2012-11-19 03:53:54 +00:00
mpp.h
mv88f6281gtw_ge-setup.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
netspace_v2-setup.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
netxbig_v2-setup.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
openrd-setup.c ARM: Kirkwood: fix unused mvsdio gpio pins 2013-03-28 16:56:31 +00:00
pcie.c ARM: Kirkwood: Support basic hotplug for PCI-E 2013-01-30 20:13:38 +00:00
rd88f6192-nas-setup.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
rd88f6281-setup.c ARM: Kirkwood: fix unused mvsdio gpio pins 2013-03-28 16:56:31 +00:00
sheevaplug-setup.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
t5325-setup.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
ts41x-setup.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
ts219-setup.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
tsx1x-common.c ARM: Kirkwood: Fix sparse warnings. 2012-11-19 03:53:46 +00:00
tsx1x-common.h