Files
linux/drivers
Oleksij Rempel 77c819cb49 net: dsa: microchip: Refactor switch shutdown routine for WoL preparation
Centralize the switch shutdown routine in a dedicated function,
ksz_switch_shutdown(), to enhance code maintainability and reduce
redundancy. This change abstracts the common shutdown operations
previously duplicated in ksz9477_i2c_shutdown() and ksz_spi_shutdown().

This refactoring is a preparatory step for an upcoming patch to avoid
reset on shutdown if Wake-on-LAN (WoL) is enabled.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Link: https://lore.kernel.org/r/20231026051051.2316937-5-o.rempel@pengutronix.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-10-27 14:43:53 -07:00
..
2023-08-22 15:50:57 +02:00
2023-08-24 16:20:30 -07:00
2023-08-30 18:32:24 -07:00
2023-08-18 10:55:49 +05:30
2023-10-19 15:51:52 -07:00
2023-10-19 10:26:26 +03:00
2023-08-24 16:20:18 -07:00
2023-08-21 13:27:44 +02:00