Skip to content
Commit 1e1be6d4 authored by Marek Vasut's avatar Marek Vasut
Browse files

usb: ehci: Do not de-init uninited controllers



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: default avatarMarek Vasut <marex@denx.de>
Cc: Simon Glass <sjg@chromium.org>
parent 8fb83547
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment