usb: xhci-mtk: disable all ports when disable host controller
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Fri, 27 May 2022 01:52:09 +0000 (09:52 +0800)
committerMarek Vasut <marex@denx.de>
Tue, 7 Jun 2022 07:55:57 +0000 (09:55 +0200)
commitfe8e8af36c46dd6381d64b174bd6b5e1283a5294
tree6840308d2c3673c958377013cb0ab2e2b9c6606d
parent8f527342db4160a1f030de6fe4a1591787cce65a
usb: xhci-mtk: disable all ports when disable host controller

This is used to avoid the ports status of IPPC being brought in kernel
stage, it may cause ports error especially when the xhci controller is
a component of dual-role controller.

Reported-by: Yun-Chien Yu <yun-chien.yu@mediatek.com>
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
drivers/usb/host/xhci-mtk.c