Hi,

2010/12/1 Lei Wen <lei...@marvell.com>:
> Since the ether may not be the only one usb gadget would be used
> in the uboot, it is neccessary to do the register each time the
> eth begin to work to make usb gadget driver less confussed when
> we want to use two different usb gadget at the same time.
>
> Usb gadget driver could simple ignore the register operation, if
> it find the driver has been registered already.
>
> Signed-off-by: Lei Wen <lei...@marvell.com>
> ---
> V1: delete the usb_gadget_register_driver in usb_eth_initialize,
>    and judge whether gadget is registered at eth_halt.
>
>  drivers/usb/gadget/ether.c |   12 ++++++++----
>  1 files changed, 8 insertions(+), 4 deletions(-)
>

Applied to u-boot-usb.
Thanks.

Remy
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to