diff options
author | Nicolas Ferre <nicolas.ferre@atmel.com> | 2012-03-28 11:56:28 +0200 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2012-04-04 18:35:14 +0200 |
commit | cca0355a09b1bfe9f8985285199a346e13cacf39 (patch) | |
tree | 3216d28182b98a4b74b1f2e4daf21b630f4b9ac4 /arch/arm/mach-at91/at91sam9263_devices.c | |
parent | 1e7caf8bcf1b49eae152ad7cf442775472dd587c (diff) | |
download | linux-stable-cca0355a09b1bfe9f8985285199a346e13cacf39.tar.gz linux-stable-cca0355a09b1bfe9f8985285199a346e13cacf39.tar.bz2 linux-stable-cca0355a09b1bfe9f8985285199a346e13cacf39.zip |
ARM: at91/USB host: specify and handle properly vbus_pin_active_low
Due to an error while handling vbus_pin_active_low in ohci-at91 driver,
the specification of this property was not good in devices/board files.
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: stable <stable@vger.kernel.org> [3.2+]
Diffstat (limited to 'arch/arm/mach-at91/at91sam9263_devices.c')
-rw-r--r-- | arch/arm/mach-at91/at91sam9263_devices.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/at91sam9263_devices.c b/arch/arm/mach-at91/at91sam9263_devices.c index 53688c46f956..27cfce3d7845 100644 --- a/arch/arm/mach-at91/at91sam9263_devices.c +++ b/arch/arm/mach-at91/at91sam9263_devices.c @@ -72,7 +72,8 @@ void __init at91_add_device_usbh(struct at91_usbh_data *data) /* Enable VBus control for UHP ports */ for (i = 0; i < data->ports; i++) { if (gpio_is_valid(data->vbus_pin[i])) - at91_set_gpio_output(data->vbus_pin[i], 0); + at91_set_gpio_output(data->vbus_pin[i], + data->vbus_pin_active_low[i]); } /* Enable overcurrent notification */ |