commit | 919d00a861f3bebadc7f9b42857d846c8aac2d1e | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Sat Dec 14 02:03:11 2013 +0100 |
committer | Marek Vasut <marex@denx.de> | Wed Dec 18 19:53:19 2013 +0100 |
tree | 6781728fbd8a026d88f0e614cdcba625a36bd7e3 | |
parent | 389283b1e79a18741cd50c075c778f52aabc029f [diff] |
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>