USB: ohci-at91: fix vbus_pin_active_low handling
authorNicolas Ferre <nicolas.ferre@atmel.com>
Wed, 21 Mar 2012 13:38:55 +0000 (14:38 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Wed, 4 Apr 2012 16:34:43 +0000 (18:34 +0200)
commit1e7caf8bcf1b49eae152ad7cf442775472dd587c
tree436c0e1a515ea6e7435d3d899db744ec6f672e4e
parent7bd9523969299f4c845615eade5e523f840dc34c
USB: ohci-at91: fix vbus_pin_active_low handling

The information is not properly taken into account
for {get|set}_power() functions.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Cc: stable <stable@vger.kernel.org> [3.2+]
drivers/usb/host/ohci-at91.c