WSL2-Linux-Kernel/drivers/net/ethernet/mediatek
Jian Hui Lee a4a4c03ec0 net: ethernet: mtk-star-emac: set mac_managed_pm when probing
[ Upstream commit 8c6790b5c25dfac11b589cc37346bcf9e23ad468 ]

The below commit introduced a warning message when phy state is not in
the states: PHY_HALTED, PHY_READY, and PHY_UP.
commit 744d23c71a ("net: phy: Warn about incorrect mdio_bus_phy_resume() state")

mtk-star-emac doesn't need mdiobus suspend/resume. To fix the warning
message during resume, indicate the phy resume/suspend is managed by the
mac when probing.

Fixes: 744d23c71a ("net: phy: Warn about incorrect mdio_bus_phy_resume() state")
Signed-off-by: Jian Hui Lee <jianhui.lee@canonical.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://patch.msgid.link/20240708065210.4178980-1-jianhui.lee@canonical.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-07-18 13:07:38 +02:00
..
Kconfig net: ethernet: mtk_eth_soc: implement dynamic interrupt moderation 2021-04-23 13:31:58 -07:00
Makefile net: ethernet: mtk_eth_soc: add flow offloading support 2021-03-24 12:48:40 -07:00
mtk_eth_path.c net: mtk_eth: simplify the mediatek code return expression 2020-12-14 17:51:26 -08:00
mtk_eth_soc.c net: mediatek: mtk_eth_soc: clear MAC_MCR_FORCE_LINK only when MAC is up 2024-03-26 18:21:35 -04:00
mtk_eth_soc.h net: ethernet: mtk_eth_soc: fix RX data corruption issue 2023-03-17 08:48:56 +01:00
mtk_ppe.c net: ethernet: mtk_eth_soc: fix PPE hanging issue 2024-03-26 18:21:35 -04:00
mtk_ppe.h net: ethernet: mediatek: ppe: fix busy wait loop 2021-04-16 15:24:18 -07:00
mtk_ppe_debugfs.c net: ethernet: mtk_eth_soc: remove unused variable 'count' 2021-03-25 17:13:38 -07:00
mtk_ppe_offload.c net: ethernet: mtk_eth_soc: fix flow block refcounting logic 2023-04-05 11:24:58 +02:00
mtk_ppe_regs.h net: ethernet: mtk_eth_soc: add support for initializing the PPE 2021-03-24 12:48:39 -07:00
mtk_sgmii.c net: ethernet: mediatek: add missing of_node_put() in mtk_sgmii_init() 2022-05-12 12:30:16 +02:00
mtk_star_emac.c net: ethernet: mtk-star-emac: set mac_managed_pm when probing 2024-07-18 13:07:38 +02:00