drivers: phy: sr-usb: do not use internal fsm for USB2 phy init
authorBharat Gooty <bharat.gooty@broadcom.com>
Wed, 13 May 2020 17:39:47 +0000 (23:09 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Jun 2020 15:50:28 +0000 (17:50 +0200)
commit8f4372f4724d06d054f3a7e5d011741bef79d5f6
treeb563b90ca25b7c9d69fb7595c2e4615f94ccc496
parent1a588c7edcd08370eacc2ecafff5769e6e9907b0
drivers: phy: sr-usb: do not use internal fsm for USB2 phy init

[ Upstream commit 6f0577d1411337a0d97d545abe4a784e9e611516 ]

During different reboot cycles, USB PHY PLL may not always lock
during initialization and therefore can cause USB to be not usable.

Hence do not use internal FSM programming sequence for the USB
PHY initialization.

Fixes: 4dcddbb38b64 ("phy: sr-usb: Add Stingray USB PHY driver")
Signed-off-by: Bharat Gooty <bharat.gooty@broadcom.com>
Signed-off-by: Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>
Link: https://lore.kernel.org/r/20200513173947.10919-1-rayagonda.kokatanur@broadcom.com
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/phy/broadcom/phy-bcm-sr-usb.c