summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/pdata-quirks.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2014-10-30 09:59:27 -0700
committerDavid S. Miller <davem@davemloft.net>2014-10-31 15:54:18 -0400
commit7d2911c4381555b31ef0bcae42a0dbf9ade7426e (patch)
tree2baef674f3a88ad52943fade77b0129f188ab1c8 /arch/arm/mach-omap2/pdata-quirks.c
parentde05c400f7dfa566f598140f8604a5de8067cd5f (diff)
downloadlinux-stable-7d2911c4381555b31ef0bcae42a0dbf9ade7426e.tar.gz
linux-stable-7d2911c4381555b31ef0bcae42a0dbf9ade7426e.tar.bz2
linux-stable-7d2911c4381555b31ef0bcae42a0dbf9ade7426e.zip
net: smc91x: Fix gpios for device tree based booting
With legacy booting, the platform init code was taking care of the configuring of GPIOs. With device tree based booting, things may or may not work depending what bootloader has configured or if the legacy platform code gets called. Let's add support for the pwrdn and reset GPIOs to the smc91x driver to fix the issues of smc91x not working properly when booted in device tree mode. And let's change n900 to use these settings as some versions of the bootloader do not configure things properly causing errors. Reported-by: Kevin Hilman <khilman@linaro.org> Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/arm/mach-omap2/pdata-quirks.c')
-rw-r--r--arch/arm/mach-omap2/pdata-quirks.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/pdata-quirks.c b/arch/arm/mach-omap2/pdata-quirks.c
index c95346c94829..cec9d6c6442c 100644
--- a/arch/arm/mach-omap2/pdata-quirks.c
+++ b/arch/arm/mach-omap2/pdata-quirks.c
@@ -252,9 +252,6 @@ static void __init nokia_n900_legacy_init(void)
platform_device_register(&omap3_rom_rng_device);
}
-
- /* Only on some development boards */
- gpio_request_one(164, GPIOF_OUT_INIT_LOW, "smc91x reset");
}
static void __init omap3_tao3530_legacy_init(void)