mbox series

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

Message ID 20230322071959.9101-1-wsa+renesas@sang-engineering.com (mailing list archive)
Headers show
Series smsc911x: fix issues when interface is not up yet | expand

Message

Wolfram Sang March 22, 2023, 7:19 a.m. UTC
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(-)