ARM: at91: fix check of valid GPIO for SPI and USB
authorNicolas Ferre <nicolas.ferre@atmel.com>
Wed, 28 Mar 2012 09:58:58 +0000 (11:58 +0200)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Wed, 4 Apr 2012 16:35:52 +0000 (18:35 +0200)
commit0c2c1f624d4f99825851f0253f1308dd591df6ef
tree0a0279e1e48ee8e0293fd4370d558dda803eb7d2
parent9475375a5eb2ab9380e644d45173f67cbca0da80
ARM: at91: fix check of valid GPIO for SPI and USB

SPI chip select pins have to be checked by gpio_is_valid().
The USB host overcurrent_pin checking was missing.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
arch/arm/mach-at91/at91sam9260_devices.c
arch/arm/mach-at91/at91sam9261_devices.c
arch/arm/mach-at91/at91sam9263_devices.c
arch/arm/mach-at91/at91sam9g45_devices.c
arch/arm/mach-at91/at91sam9rl_devices.c