diff options
author | Marek Vasut <marex@denx.de> | 2013-12-14 01:03:11 (GMT) |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2013-12-18 18:53:19 (GMT) |
commit | 1e1be6d478c7c2cddf97e2623dd5c4c10bc23020 (patch) | |
tree | 6781728fbd8a026d88f0e614cdcba625a36bd7e3 /common/cmd_ide.c | |
parent | 8fb83547b93cd30a803eca1fec005b3d2b86a21f (diff) | |
download | u-boot-1e1be6d478c7c2cddf97e2623dd5c4c10bc23020.tar.xz |
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: Marek Vasut <marex@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/cmd_ide.c')
0 files changed, 0 insertions, 0 deletions