phy: phy-mtk-tphy: use auto instead of force to bypass utmi signals
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Thu, 7 Dec 2017 11:53:34 +0000 (19:53 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Aug 2018 16:12:48 +0000 (18:12 +0200)
commit4290940dcb07f8876b294099005e803aab576e8d
treeab2b7c1d658ed6362c7cd64ab5a6e030162a8735
parent2424869e4cd1d2d08b0c23b709b116d48d1a42aa
phy: phy-mtk-tphy: use auto instead of force to bypass utmi signals

commit 00c0092c5f62147b7d85f0c6f1cf245a0a1ff3b6 upstream.

When system is running, if usb2 phy is forced to bypass utmi signals,
all PLL will be turned off, and it can't detect device connection
anymore, so replace force mode with auto mode which can bypass utmi
signals automatically if no device attached for normal flow.
But keep the force mode to fix RX sensitivity degradation issue.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/phy/mediatek/phy-mtk-tphy.c