[U-Boot] [PATCH 2/3] usb: ehci: Do not de-init uninited controllers

2013-12-13 Thread Marek Vasut
In case the controller is not initialized, we shall not de-initialize it. As the control structure will not be filled, we will produce a null ptr dereference if the controller is not inited. Signed-off-by: Marek Vasut Cc: Simon Glass --- drivers/usb/host/ehci-hcd.c | 3 +++ 1 file changed, 3 in

Re: [U-Boot] [PATCH 2/3] usb: ehci: Do not de-init uninited controllers

2013-12-26 Thread Simon Glass
On 13 December 2013 21:55, Marek Vasut wrote: > In case the controller is not initialized, we shall not de-initialize it. > As the control structure will not be filled, we will produce a null ptr > dereference if the controller is not inited. > > Signed-off-by: Marek Vasut > Cc: Simon Glass >