linux_dsm_epyc7002/drivers/phy
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
..
allwinner Merge branch 'fixes' into next 2020-07-17 13:45:53 +05:30
amlogic USB: changes for v5.8 merge window 2020-05-25 13:28:20 +02:00
broadcom phy: usb: Fix misuse of IS_ENABLED 2021-06-16 12:01:43 +02:00
cadence phy: cadence: Sierra: Fix error return code in cdns_sierra_phy_probe() 2021-06-16 12:01:45 +02:00
freescale phy: fsl-imx8mq-usb: Constify imx8mq_usb_phy_ops 2020-08-31 14:36:36 +05:30
hisilicon phy: hisilicon; Constify hi3660_phy_ops 2020-08-31 14:36:36 +05:30
intel phy: intel: PHY_INTEL_KEEMBAY_EMMC should depend on ARCH_KEEMBAY 2020-11-16 13:10:17 +05:30
lantiq phy: lantiq: rcu-usb2: wait after clock enable 2021-03-04 11:38:24 +01:00
marvell phy: marvell: ARMADA375_USBCLUSTER_PHY should not default to y, unconditionally 2021-05-14 09:50:13 +02:00
mediatek phy: phy-mtk-tphy: Fix some resource leaks in mtk_phy_init() 2021-06-23 14:42:48 +02:00
motorola phy: cpcap-usb: Fix warning for missing regulator_disable 2021-02-07 15:37:13 +01:00
mscc treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
qualcomm phy: qualcomm: Fix 28 nm Hi-Speed USB PHY OF dependency 2020-11-16 13:20:38 +05:30
ralink phy: ralink-usb: Constify ralink_usb_phy_ops 2020-08-31 14:36:37 +05:30
renesas phy: renesas: rcar-gen3-usb2: disable runtime pm in case of failure 2020-12-30 11:53:36 +01:00
rockchip phy: rockchip-emmc: emmc_phy_init() always return 0 2021-03-04 11:38:10 +01:00
samsung phy: samsung-ufs: Constify samsung_ufs_phy_ops 2020-08-31 14:36:37 +05:30
socionext phy: uniphier-pcie: Fix updating phy parameters 2021-07-14 16:56:47 +02:00
st phy: stm32: use NULL instead of zero 2020-07-13 12:15:46 +05:30
tegra phy: tegra: xusb: Fix usb_phy device driver field 2020-12-30 11:53:26 +01:00
ti phy: ti: Fix an error code in wiz_probe() 2021-06-16 12:01:45 +02:00
xilinx phy: zynqmp: Fix unused-function compiler warning 2020-07-01 20:35:29 +05:30
Kconfig phy: USB_LGM_PHY should depend on X86 2021-03-04 11:38:13 +01:00
Makefile phy: Add USB3 PHY support for Intel LGM SoC 2020-09-11 17:12:49 +05:30
phy-core-mipi-dphy.c phy: dphy: Change units of wakeup and init parameters 2019-02-07 11:11:05 +05:30
phy-core.c phy: core: Document function args 2020-07-08 16:40:21 +05:30
phy-lgm-usb.c phy: Add USB3 PHY support for Intel LGM SoC 2020-09-11 17:12:49 +05:30
phy-lpc18xx-usb-otg.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
phy-pistachio-usb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 422 2019-06-05 17:37:15 +02:00
phy-xgene.c phy: xgene: remove unsigned integer comparison with less than zero 2020-07-13 12:14:51 +05:30