]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: phy: qcom: qca808x: Fix WoL issue by utilizing at8031_set_wol()
authorLuo Jie <quic_luoj@quicinc.com>
Fri, 4 Jul 2025 05:31:14 +0000 (13:31 +0800)
committerJakub Kicinski <kuba@kernel.org>
Mon, 7 Jul 2025 23:43:47 +0000 (16:43 -0700)
commit4ab9ada765b7acb5cd02fe27632ec2586b7868ee
treee52048fd2350e74a827d1796ebff428aeabb5bc1
parente31cf3cce2102af984656fed6e2254cbdd46da02
net: phy: qcom: qca808x: Fix WoL issue by utilizing at8031_set_wol()

The previous commit unintentionally removed the code responsible for
enabling WoL via MMD3 register 0x8012 BIT5. As a result, Wake-on-LAN
(WoL) support for the QCA808X PHY is no longer functional.

The WoL (Wake-on-LAN) feature for the QCA808X PHY is enabled via MMD3
register 0x8012, BIT5. This implementation is aligned with the approach
used in at8031_set_wol().

Fixes: e58f30246c35 ("net: phy: at803x: fix the wol setting functions")
Signed-off-by: Luo Jie <quic_luoj@quicinc.com>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/20250704-qcom_phy_wol_support-v1-2-053342b1538d@quicinc.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/qcom/qca808x.c