Skip to content
Snippets Groups Projects
Commit 99fc9cef authored by Sebastian Reichel's avatar Sebastian Reichel Committed by Sebastian Reichel
Browse files

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 it also introduces a proper GENMASK based constant for
the PCIE30_PHY_MODE.

Fixes: 2e9bffc4 ("phy: rockchip: Support PCIe v3")
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent 120b5c71
No related branches found
No related tags found
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment