net: phy: air_en8811h: restore AN8811HB LED GPIO after MCU restart

Commit 03b4702fc5 ("net: phy: air_en8811h: move LED GPIO
configuration to config_init") moved the EN8811H LED GPIO setup from
probe to config_init because an MD32 restart clears the output-enable
bits.

AN8811HB follows the same initialization sequence: an8811hb_probe()
enables GPIO3/4/5, and later config_init() calls restart MD32.

Move the AN8811HB GPIO setup to the end of an8811hb_config_init(),
matching the current EN8811H path.

Suggested-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Ziyou Xu <xuziyougm@gmail.com>
Link: https://patch.msgid.link/20260829033844.1975-1-xuziyougm@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
Ziyou Xu 2026-08-29 11:38:43 +08:00 • committed by Jakub Kicinski
commit 3498acda6b