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:
Shawn Lin
2021-12-22 17:51:42 +08:00
committed by Tao Huang
parent 652b70446f
commit 830f920f79

View File

@@ -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;