usb: xhci-mtk: check clock stability of U3_MAC
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Fri, 13 Oct 2017 08:26:35 +0000 (16:26 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Oct 2017 09:29:40 +0000 (11:29 +0200)
commitce370bfdb9b30830e9ddb88ba8bde2efdd0c9dc0
treeee440524c46bfc28942afa55bfc634ab3a8e7f65
parent8465d3e4e7cf8ae9dfd8e206e8077c24d6c0cf4c
usb: xhci-mtk: check clock stability of U3_MAC

This is useful to find out the root cause when the Super Speed doesn't
work. Such as when the T-PHY is switched to PCIe or SATA, and affects
Super Speed function, the check will fail.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Acked-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-mtk.c