Re: [U-Boot] [PATCH v2 1/3] drivers: usb: gadget: ether: do not register usb when DM_USB and DM_ETH defined

2016-12-17 Thread Simon Glass
On 14 December 2016 at 06:32, Mugunthan V N wrote: > when both DM_USB and DM_ETH are defined which denoted that > usb_ether has been registered from a usb device. So registering a > USB device doesn't do any thing and de-register leads to crash as > it try to remove its own

[U-Boot] [PATCH v2 1/3] drivers: usb: gadget: ether: do not register usb when DM_USB and DM_ETH defined

2016-12-14 Thread Mugunthan V N
when both DM_USB and DM_ETH are defined which denoted that usb_ether has been registered from a usb device. So registering a USB device doesn't do any thing and de-register leads to crash as it try to remove its own parent. Sample dm-tree output below. eth [ + ]|--