diff options
author | Sebastian Reichel <sebastian.reichel@collabora.com> | 2024-04-04 20:11:27 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-05-02 17:35:33 +0300 |
commit | a68840cd11a7ee442bcbfcdeec04ebc6ab0fd386 (patch) | |
tree | 42edfe5e26e8ebbdb16bc4d4399fbf2c522d6212 /fs/proc_namespace.c | |
parent | 201a6c22d26ca9d162c02037aedfc6a45254888b (diff) | |
download | linux-a68840cd11a7ee442bcbfcdeec04ebc6ab0fd386.tar.xz |
phy: rockchip-snps-pcie3: fix clearing PHP_GRF_PCIESEL_CON bits
[ Upstream commit 55491a5fa163bf15158f34f3650b3985f25622b9 ]
Currently the PCIe v3 PHY driver only sets the pcie1ln_sel bits, but
does not clear them because of an incorrect write mask. This fixes up
the issue by using a newly introduced constant for the write mask.
While at it also introduces a proper GENMASK based constant for the
PCIE30_PHY_MODE.
Fixes: 2e9bffc4f713 ("phy: rockchip: Support PCIe v3")
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20240404-rk3588-pcie-bifurcation-fixes-v1-2-9907136eeafd@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/proc_namespace.c')
0 files changed, 0 insertions, 0 deletions