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