Re: [PATCH 1/2] Revert "net: smsc911x: Make Runtime PM handling more fine-grained"

From: Wolfram Sang
Date: Fri Mar 17 2023 - 01:00:44 EST


Hi Geert,

> In sh_eth this was fixed differently, by adding a check for
> mdp->is_opened to sh_eth_get_stats() [1].
> I believe the modern way would be to add a check for netif_running()
> instead.
>
> Would adding such a check to smsc911x_get_stats() work for you, too?

Yeah, that worked. Thank you! I'll send v2 soon.

Happy hacking,

Wolfram

Attachment: signature.asc
Description: PGP signature