diff options
author | Peng Fan <peng.fan@nxp.com> | 2016-06-06 16:08:02 +0800 |
---|---|---|
committer | Peng Fan <peng.fan@nxp.com> | 2016-06-06 16:08:02 +0800 |
commit | cba5da05b1178c11d5c8f4037067e192c57a6450 (patch) | |
tree | 8f4562ac7de0e7032d6310f5ac4d4acef896cc2d /board | |
parent | df0052575b2bc9d66ae73584768e1a457ed5d914 (diff) | |
download | u-boot-imx-cba5da05b1178c11d5c8f4037067e192c57a6450.zip u-boot-imx-cba5da05b1178c11d5c8f4037067e192c57a6450.tar.gz u-boot-imx-cba5da05b1178c11d5c8f4037067e192c57a6450.tar.bz2 |
MLK-12888 usb: ehci: only shutdown opened controller
If the usb controller is not running, no need to shutdown it,
otherwise `usb stop` complains about:
"EHCI failed to shut down host controller".
To i.MX7D SDB, there are two usb ports, one Host, one OTG.
If we only plug one udisk to the Host port and then `usb start`,
the OTG controller for OTG port does not run actually. Then,
if `usb stop`, the OTG controller for OTG port will also be
shutdown, but it is not running.
This patch adds a check that only shutdown the running controller.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'board')
0 files changed, 0 insertions, 0 deletions