diff options
author | Jian Hui Lee <jianhui.lee@canonical.com> | 2024-07-08 09:52:09 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-07-11 11:13:28 +0300 |
commit | 8c6790b5c25dfac11b589cc37346bcf9e23ad468 (patch) | |
tree | 3e3f7ddac317d7fccdc8b2d45f6794f1e1882dc8 /scripts/clang-tools/gen_compile_commands.py | |
parent | 76a0a3f9cc2fbd0e56671706bb74a9a988397898 (diff) | |
download | linux-8c6790b5c25dfac11b589cc37346bcf9e23ad468.tar.xz |
net: ethernet: mtk-star-emac: set mac_managed_pm when probing
The below commit introduced a warning message when phy state is not in
the states: PHY_HALTED, PHY_READY, and PHY_UP.
commit 744d23c71af3 ("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: 744d23c71af3 ("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>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions