OSDN Git Service

phy: uniphier-usb3ss: fix unintended writing zeros to PHY register
authorRyuta NAKANISHI <nakanishi.ryuta@socionext.com>
Wed, 22 Dec 2021 05:19:29 +0000 (14:19 +0900)
committerVinod Koul <vkoul@kernel.org>
Fri, 24 Dec 2021 04:36:38 +0000 (10:06 +0530)
commit898c7a9ec81620125f2463714a0f4dea18ad6e54
tree533c8239885ebbfd2de1be931132184c342c1ef0
parent33d18746fa514d21df9931a88d20530981f8a064
phy: uniphier-usb3ss: fix unintended writing zeros to PHY register

Similar to commit 4a90bbb478db ("phy: uniphier-pcie: Fix updating phy
parameters"), in function uniphier_u3ssphy_set_param(), unintentionally
write zeros to other fields when writing PHY registers.

Fixes: 5ab43d0f8697 ("phy: socionext: add USB3 PHY driver for UniPhier SoC")
Signed-off-by: Ryuta NAKANISHI <nakanishi.ryuta@socionext.com>
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Link: https://lore.kernel.org/r/1640150369-4134-1-git-send-email-hayashi.kunihiko@socionext.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/socionext/phy-uniphier-usb3ss.c