net: usb: asix: ax88772: add missing stop
authorOleksij Rempel <o.rempel@pengutronix.de>
Thu, 22 Jul 2021 07:32:24 +0000 (09:32 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Jul 2021 07:51:14 +0000 (00:51 -0700)
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>
drivers/net/usb/asix_devices.c

index 049c203..9b91476 100644 (file)
@@ -1210,6 +1210,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,