[PATCH net v3 0/2] smsc911x: fix issues when interface is not up yet

From: Wolfram Sang
Date: Wed Mar 22 2023 - 03:20:15 EST


Similar to upstream commit 7f5ebf5dae42 ("ravb: avoid PHY being resumed
when interface is not up"), here is the fix for SMSC911x (patch 2).
Also, I saw a splat running 'ifconfig' when interface was not up. Patch
1 fixes it.

Patches are based on v6.2-rc3 and tested on a Renesas APE6-EK.

Changes since v2:
* added tags for patch 1
* patch 2 has been refactored to be less intrusive for easier
backporting

Wolfram Sang (2):
smsc911x: only update stats when interface is up
smsc911x: avoid PHY being resumed when interface is not up

drivers/net/ethernet/smsc/smsc911x.c | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)

--
2.30.2