linux_dsm_epyc7002/drivers/phy/socionext
Kunihiko Hayashi 6398fc0e57 phy: uniphier-pcie: Fix updating phy parameters
[ Upstream commit 4a90bbb478dbf18ecdec9dcf8eb708e319d24264 ]

The current driver uses a value from register TEST_O as the original
value for register TEST_I, though, the value is overwritten by "param",
so there is a bug that the original value isn't no longer used.

The value of TEST_O[7:0] should be masked with "mask", replaced with
"param", and placed in the bitfield TESTI_DAT_MASK as new TEST_I value.

Fixes: c6d9b13241 ("phy: socionext: add PCIe PHY driver support")
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Link: https://lore.kernel.org/r/1623037842-19363-1-git-send-email-hayashi.kunihiko@socionext.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-14 16:56:47 +02:00
..
Kconfig phy: socionext: Add UniPhier AHCI PHY driver support 2020-08-31 17:07:53 +05:30
Makefile phy: socionext: Add UniPhier AHCI PHY driver support 2020-08-31 17:07:53 +05:30
phy-uniphier-ahci.c phy: socionext: Add UniPhier AHCI PHY driver support 2020-08-31 17:07:53 +05:30
phy-uniphier-pcie.c phy: uniphier-pcie: Fix updating phy parameters 2021-07-14 16:56:47 +02:00
phy-uniphier-usb2.c
phy-uniphier-usb3hs.c phy: uniphier-usb3hs: Change Rx sync mode to avoid communication failure 2020-03-20 19:34:29 +05:30
phy-uniphier-usb3ss.c phy: uniphier-usb3ss: Add Pro5 support 2020-03-20 19:34:29 +05:30