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
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
>
2 matches
Mail list logo