diff options
author | Kunihiko Hayashi <hayashi.kunihiko@socionext.com> | 2021-06-07 12:50:42 +0900 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-06-21 12:03:05 +0530 |
commit | 4a90bbb478dbf18ecdec9dcf8eb708e319d24264 (patch) | |
tree | 62350d9f2dfd9e9182ee8555bf8e4bfb72df7945 /drivers/phy/ti/phy-dm816x-usb.c | |
parent | bd1f775d6027810d366600e2490a2ff247e3466e (diff) | |
download | lwn-4a90bbb478dbf18ecdec9dcf8eb708e319d24264.tar.gz lwn-4a90bbb478dbf18ecdec9dcf8eb708e319d24264.zip |
phy: uniphier-pcie: Fix updating phy parameters
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: c6d9b1324159 ("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>
Diffstat (limited to 'drivers/phy/ti/phy-dm816x-usb.c')
0 files changed, 0 insertions, 0 deletions