ARM: at91/usbh: fix overcurrent gpio setup
authorJohan Hovold <jhovold@gmail.com>
Wed, 14 Nov 2012 11:18:17 +0000 (12:18 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Fri, 16 Nov 2012 09:46:29 +0000 (10:46 +0100)
commit641f3ce64b050961d454a0716bb6dbf528315aac
treee1ee172f0ae0697cfed0cfa76ad7b32747c6def0
parent097965ee447e5ccec9776f9b075e64cf7607e5eb
ARM: at91/usbh: fix overcurrent gpio setup

Use gpio_is_valid also for overcurrent pins (which are currently
negative in many board files).

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