[U-Boot] [PATCH 0/8] usb: driver-model fixes and dm support sunxi-ehci.c

Simon Glass sjg at chromium.org
Thu Apr 30 16:48:22 CEST 2015


Hi Hans,

On 30 April 2015 at 08:35, Hans de Goede <hdegoede at redhat.com> wrote:
> Hi Simon and Marek,
>
> This series completes my work on converting the sunxi usb/ehci code to
> the driver model. With this series everything works as it did before,
> and all the issues I've been seeing when switching to the driver model
> are resolved.
>
> Please review / merge. I think it would be best to merge this through
> the dm tree.

Great to see this, thanks for all the work and fixes.

I am not too keen on the passing through of struct usb_device, in fact
I went to some lengths to avoid that.

I'll read through the patches again, but I wonder if we can avoid
heading in that direction? Conceptually in driver model the device
does not exist until we find out what it is and can locate a device
driver.

Regards,
Simon


More information about the U-Boot mailing list