summaryrefslogtreecommitdiffstats
path: root/drivers/net/usb/asix_devices.c
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2021-07-22 09:32:24 +0200
committerDavid S. Miller <davem@davemloft.net>2021-07-22 00:51:14 -0700
commit9c2670951ed03f8fc6c701d66f5c765929cf1f23 (patch)
tree5e19e2f80318be6cbd175fbe6a75c0c0ab09300f /drivers/net/usb/asix_devices.c
parentfdc362bff9132e2e15e75d1ac830f91d2d9dee41 (diff)
downloadlinux-9c2670951ed03f8fc6c701d66f5c765929cf1f23.tar.gz
linux-9c2670951ed03f8fc6c701d66f5c765929cf1f23.tar.bz2
linux-9c2670951ed03f8fc6c701d66f5c765929cf1f23.zip
net: usb: asix: ax88772: add missing stop
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>
Diffstat (limited to 'drivers/net/usb/asix_devices.c')
-rw-r--r--drivers/net/usb/asix_devices.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/usb/asix_devices.c b/drivers/net/usb/asix_devices.c
index 049c20342a0b..9b914765c2de 100644
--- a/drivers/net/usb/asix_devices.c
+++ b/drivers/net/usb/asix_devices.c
@@ -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,