mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
phy: rockchip: naneng-combphy: Renew detect bypass reg
Should use REG_19H instead of REG_DH.
Fixes: 2f06afaaa8 ("phy: rockchip: naneng-combphy: Force detect Rx for RK356X SoCs")
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: Ifc9484e850955e6a36c30755a7ba1aee65070d0f
This commit is contained in:
@@ -142,9 +142,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