]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite3b61cd415aad2dfc0be73c14239630b33ca2d0c
tree533c8239885ebbfd2de1be931132184c342c1ef0
parent4094c2b6d69ac5de083f8fcd92a5c9a10325a6ee
phy: uniphier-usb3ss: fix unintended writing zeros to PHY register

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

Fixes: f46a534c95cb ("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