Re: [PATCH net v2 1/2] smsc911x: only update stats when interface is up

From: Florian Fainelli
Date: Tue Mar 21 2023 - 12:59:44 EST


On 3/20/23 02:20, Wolfram Sang wrote:
Otherwise the clocks are not enabled and reading registers will BUG.

Fixes: 1e30b8d755b8 ("net: smsc911x: Make Runtime PM handling more fine-grained")
Suggested-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
Signed-off-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>

Reviewed-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
--
Florian