]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
usb: Pass device instead of portnr to usb_legacy_port_reset
authorHans de Goede <hdegoede@redhat.com>
Wed, 17 Jun 2015 19:33:47 +0000 (21:33 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:48:56 +0000 (13:48 +0200)
commit660a3668ab156c5f33c3aa9ee4aec42f7f035c56
tree9d0ced6e548cd947990fd4bee0d7988c23628c11
parentf72b3abe3045c76f92ed413fd3462270a5816c2a
usb: Pass device instead of portnr to usb_legacy_port_reset

Pass the usb_device instead of the portnr to usb_legacy_port_reset and
rename it to usb_hub_port_reset as there is nothing legacy about it.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Simon Glass <sjg@chromium.org>
common/usb.c