mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
phy: rockchip: naneng-combphy: Renew detect bypass reg
Should use REG_19H instead of REG_DH.
Fixes: e6ae079436 ("phy: rockchip: naneng-combphy: Force detect Rx for RK356X and RK3588 SoCs")
Change-Id: Ifc9484e850955e6a36c30755a7ba1aee65070d0f
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
This commit is contained in:
@@ -143,9 +143,9 @@ static int rockchip_combphy_pcie_init(struct rockchip_combphy_priv *priv)
|
||||
}
|
||||
|
||||
if (priv->cfg->force_det_out) {
|
||||
val = readl(priv->mmio + (0xd << 2));
|
||||
val = readl(priv->mmio + (0x19 << 2));
|
||||
val |= BIT(5);
|
||||
writel(val, priv->mmio + (0xd << 2));
|
||||
writel(val, priv->mmio + (0x19 << 2));
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user