Skip to contentSkip to conversation

usbnet: ax88179_178a: Correct a typo in description

PATCH Applied David Chang 2 participants 4 messages Jun 27, 2013 – Jun 29, 2013

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 usbnet: ax88179_178a: Correct a typo in description

Correct a typo in description of driver_info, it should be Gigabit

---
 drivers/net/usb/ax88179_178a.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/usb/ax88179_178a.c +2 -2
index bd8758f..7ce243b 100644
@@ -1371,7 +1371,7 @@ static int ax88179_stop(struct usbnet *dev)
 }
 
 static const struct driver_info ax88179_info = {
-	.description = "ASIX AX88179 USB 3.0 Gigibit Ethernet",
+	.description = "ASIX AX88179 USB 3.0 Gigabit Ethernet",
 	.bind = ax88179_bind,
 	.unbind = ax88179_unbind,
 	.status = ax88179_status,
@@ -1384,7 +1384,7 @@ static const struct driver_info ax88179_info = {
 };
 
 static const struct driver_info ax88178a_info = {
-	.description = "ASIX AX88178A USB 2.0 Gigibit Ethernet",
+	.description = "ASIX AX88178A USB 2.0 Gigabit Ethernet",
 	.bind = ax88179_bind,
 	.unbind = ax88179_unbind,
 	.status = ax88179_status,
Signature · 1 line
1.8.1.4
#1 lore raw

PATCH 2/2 usbnet: ax88179_178a: add .reset_resume hook

I tested with the AX88179 usb dongle, if without .reset_resume hook, after S3/S4 resume you have to enable network interface or reload the dirver module manually otherwise the network interface can not work.

---
 drivers/net/usb/ax88179_178a.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/usb/ax88179_178a.c +1 -0
index 7ce243b..1e3c302 100644
@@ -1433,6 +1433,7 @@ static struct usb_driver ax88179_178a_driver = {
 	.probe =	usbnet_probe,
 	.suspend =	ax88179_suspend,
 	.resume =	ax88179_resume,
+	.reset_resume =	ax88179_resume,
 	.disconnect =	usbnet_disconnect,
 	.supports_autosuspend = 1,
 	.disable_hub_initiated_lpm = 1,
Signature · 1 line
1.8.1.4
maintainer Applied
#2 lore raw

Re: [PATCH 2/2 net-next] usbnet: ax88179_178a: add .reset_resume hook

From: David Chang <[email protected]>
Date: Thu, 27 Jun 2013 17:16:43 +0800

Quoted 5 lines

I tested with the AX88179 usb dongle, if without .reset_resume hook, after S3/S4 resume you have to enable network interface or reload the dirver module manually otherwise the network interface can not work.

Applied.