]> git.karo-electronics.de Git - karo-tx-linux.git/commit
at91: at91-ohci: fix set/get power
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Sat, 12 Nov 2011 15:40:02 +0000 (23:40 +0800)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Mon, 14 Nov 2011 21:48:53 +0000 (05:48 +0800)
commit3c556247bf2e5909a29eb3939ed073f3350365e7
tree7f4c734e1cd74ec82233d1e5fdb377f69424ba00
parent2e72a0a3748fa92371882ad4d55d3aec04fc0e24
at91: at91-ohci: fix set/get power

in commit aa6e52a35 we introduce the support of overcurrent notification
but the set and get of the power without checking if the gpio is valid or not

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
drivers/usb/host/ohci-at91.c