mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
drm/rockchip/rk628: combtxphy: Mark regcache as dirty in power on reset
HW registers were reset to default values during power on reset. Change-Id: I1c78d5f9eb78c80a9a9cfe8c8d106c125fa0cba0 Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
This commit is contained in:
@@ -210,6 +210,9 @@ static int rk628_combtxphy_power_on(struct phy *phy)
|
||||
reset_control_deassert(combtxphy->rstc);
|
||||
udelay(10);
|
||||
|
||||
regcache_mark_dirty(combtxphy->regmap);
|
||||
regcache_sync(combtxphy->regmap);
|
||||
|
||||
regmap_update_bits(combtxphy->regmap, COMBTXPHY_CON0,
|
||||
SW_TX_IDLE_MASK | SW_TX_PD_MASK | SW_PD_PLL_MASK,
|
||||
SW_TX_IDLE(0x3ff) | SW_TX_PD(0x3ff) | SW_PD_PLL);
|
||||
|
||||
Reference in New Issue
Block a user