diff options
author | Sebastian Reichel <sebastian.reichel@collabora.com> | 2024-04-04 19:11:27 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2024-04-06 14:31:13 +0530 |
commit | 55491a5fa163bf15158f34f3650b3985f25622b9 (patch) | |
tree | bd3a7c9739237acad3f890377fb3be8db5e91178 /drivers/gpio/gpio-it87.c | |
parent | f8020dfb311d2b6cf657668792aaa5fa8863a7dd (diff) |
phy: rockchip-snps-pcie3: fix clearing PHP_GRF_PCIESEL_CON bits
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>
Diffstat (limited to 'drivers/gpio/gpio-it87.c')
0 files changed, 0 insertions, 0 deletions