net: phy: smsc: clear edpd_enable if interrupt mode is used
authorHeiner Kallweit <hkallweit1@gmail.com>
Sun, 2 Apr 2023 15:13:05 +0000 (17:13 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Apr 2023 09:08:42 +0000 (10:08 +0100)
commitd56417ad1133fc41752bb9fe37da7ae3187395a4
tree6cc5905f223d08b79de767c33e86f7fd3c8929a9
parent89946e31ff4f7f43b3cf4837eb5b9f141eb6f1d6
net: phy: smsc: clear edpd_enable if interrupt mode is used

Clear edpd_enable if interupt mode is used, this avoids
having to check for PHY_POLL multiple times.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/smsc.c