]> git.ipfire.org Git - thirdparty/linux.git/commit
net: phy: air_en8811h: Introduce resume/suspend and clk_restore_context to ensure...
authorLucien.Jheng <lucienzx159@gmail.com>
Mon, 30 Jun 2025 15:41:47 +0000 (23:41 +0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 2 Jul 2025 02:35:43 +0000 (19:35 -0700)
commit6b9c9def95cb402374730d51a1f44927f467b774
tree11c22361764e1bb83ddeabaaa95a4c1b43b35e7e
parent10c38949e0f5d832b23963e2bbfe398dcad9f52e
net: phy: air_en8811h: Introduce resume/suspend and clk_restore_context to ensure correct CKO settings after network interface reinitialization.

If the user reinitializes the network interface, the PHY will reinitialize,
and the CKO settings will revert to their initial configuration(be enabled).
To prevent CKO from being re-enabled,
en8811h_clk_restore_context and en8811h_resume were added
to ensure the CKO settings remain correct.

Signed-off-by: Lucien.Jheng <lucienzx159@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20250630154147.80388-1-lucienzx159@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/air_en8811h.c