[U-Boot] [PATCH 04/22] usb: Pass device instead of portnr to usb_legacy_port_reset

Hans de Goede hdegoede at redhat.com
Tue Jun 30 14:31:53 CEST 2015


Hi,

On 29-06-15 05:44, Simon Glass wrote:
> Hi Hans,
>
> On 17 June 2015 at 13:33, Hans de Goede <hdegoede at redhat.com> wrote:
>> 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 at redhat.com>
>> ---
>>   common/usb.c | 8 ++++----
>>   1 file changed, 4 insertions(+), 4 deletions(-)
>
> Legacy as in not driver model.

Except that it gets used in both device-model and non device model
builds of the usb-stack.

Regards,

Hans

p.s.

Thanks for reviewing this largish series!


More information about the U-Boot mailing list