net: usb: asix: ax88772: add missing stop
authorOleksij Rempel <o.rempel@pengutronix.de>
Thu, 22 Jul 2021 07:32:24 +0000 (09:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Sep 2021 08:02:13 +0000 (10:02 +0200)
[ Upstream commit 9c2670951ed03f8fc6c701d66f5c765929cf1f23 ]

Add missing stop and let phylib framework suspend attached PHY.

Fixes: e532a096be0e ("net: usb: asix: ax88772: add phylib support")
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/usb/asix_devices.c

index dc87e8caf954af6b86a776e56941c3055637492e..53c3c680c08324da622794dfa43d49a8bba71874 100644 (file)
@@ -1220,6 +1220,7 @@ static const struct driver_info ax88772b_info = {
        .unbind = ax88772_unbind,
        .status = asix_status,
        .reset = ax88772_reset,
+       .stop = ax88772_stop,
        .flags = FLAG_ETHER | FLAG_FRAMING_AX | FLAG_LINK_INTR |
                 FLAG_MULTI_PACKET,
        .rx_fixup = asix_rx_fixup_common,