mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-17 02:15:57 +00:00
Merge branch 'cpsw-enable-mac_managed_pm-to-fix-mdio'
Sinthu Raja says: ==================== CPSW: enable mac_managed_pm to fix mdio This patch fix the resume/suspend issue on CPSW interface. Reference from the foloowing patchwork: https://lore.kernel.org/netdev/20221014144729.1159257-2-shenwei.wang@nxp.com/T/ V1: https://patchwork.kernel.org/project/netdevbpf/patch/20240122083414.6246-1-sinthu.raja@ti.com/ V2: https://patchwork.kernel.org/project/netdevbpf/patch/20240122093326.7618-1-sinthu.raja@ti.com/ ==================== Link: https://lore.kernel.org/r/20240206005928.15703-1-sinthu.raja@ti.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
This commit is contained in:
commit
03fa49a386
@ -631,6 +631,8 @@ static void cpsw_slave_open(struct cpsw_slave *slave, struct cpsw_priv *priv)
|
||||
}
|
||||
}
|
||||
|
||||
phy->mac_managed_pm = true;
|
||||
|
||||
slave->phy = phy;
|
||||
|
||||
phy_attached_info(slave->phy);
|
||||
|
@ -773,6 +773,9 @@ static void cpsw_slave_open(struct cpsw_slave *slave, struct cpsw_priv *priv)
|
||||
slave->slave_num);
|
||||
return;
|
||||
}
|
||||
|
||||
phy->mac_managed_pm = true;
|
||||
|
||||
slave->phy = phy;
|
||||
|
||||
phy_attached_info(slave->phy);
|
||||
|
Loading…
x
Reference in New Issue
Block a user