]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
phy: rockchip-pcie: Properly disable TEST_WRITE strobe signal
authorGeraldo Nascimento <geraldogabriel@gmail.com>
Mon, 30 Jun 2025 22:25:28 +0000 (19:25 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:28:25 +0000 (16:28 +0200)
commit4db46a83d8179cad5cc37428e178847d4a3bdab2
tree0cee255691f2c0a7efb8621ee5db462ca78896db
parent41368857a354fb3438c326e7227192fa8aabd9a2
phy: rockchip-pcie: Properly disable TEST_WRITE strobe signal

[ Upstream commit 25facbabc3fc33c794ad09d73f73268c0f8cbc7d ]

pcie_conf is used to touch TEST_WRITE strobe signal. This signal should
be enabled, a little time waited, and then disabled. Current code clearly
was copy-pasted and never disables the strobe signal. Adjust the define.
While at it, remove PHY_CFG_RD_MASK which has been unused since
64cdc0360811 ("phy: rockchip-pcie: remove unused phy_rd_cfg function").

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Geraldo Nascimento <geraldogabriel@gmail.com>
Link: https://lore.kernel.org/r/d514d5d5627680caafa8b7548cbdfee4307f5440.1751322015.git.geraldogabriel@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/phy/rockchip/phy-rockchip-pcie.c