mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2 net-next] usbnet: ax88179_178a: Correct a typo in description
@ 2013-06-27  9:16 David Chang
  2013-06-27  9:16 ` [PATCH 2/2 net-next] usbnet: ax88179_178a: add .reset_resume hook David Chang
  2013-06-29  4:40 ` [PATCH 1/2 net-next] usbnet: ax88179_178a: Correct a typo in description David Miller
  0 siblings, 2 replies; 4+ messages in thread
From: David Chang @ 2013-06-27  9:16 UTC (permalink / raw)
  To: David S. Miller
  Cc: Greg Kroah-Hartman, linux-usb, netdev, linux-kernel, jlee, David Chang


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

Signed-off-by: David Chang <dchang@suse.com>
---
 drivers/net/usb/ax88179_178a.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/usb/ax88179_178a.c b/drivers/net/usb/ax88179_178a.c
index bd8758f..7ce243b 100644
--- a/drivers/net/usb/ax88179_178a.c
+++ b/drivers/net/usb/ax88179_178a.c
@@ -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,
-- 
1.8.1.4


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 2/2 net-next] usbnet: ax88179_178a: add .reset_resume hook
  2013-06-27  9:16 [PATCH 1/2 net-next] usbnet: ax88179_178a: Correct a typo in description David Chang
@ 2013-06-27  9:16 ` David Chang
  2013-06-29  4:40   ` David Miller
  2013-06-29  4:40 ` [PATCH 1/2 net-next] usbnet: ax88179_178a: Correct a typo in description David Miller
  1 sibling, 1 reply; 4+ messages in thread
From: David Chang @ 2013-06-27  9:16 UTC (permalink / raw)
  To: David S. Miller
  Cc: Greg Kroah-Hartman, linux-usb, netdev, linux-kernel, jlee, David Chang


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.

Signed-off-by: David Chang <dchang@suse.com>
---
 drivers/net/usb/ax88179_178a.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/usb/ax88179_178a.c b/drivers/net/usb/ax88179_178a.c
index 7ce243b..1e3c302 100644
--- a/drivers/net/usb/ax88179_178a.c
+++ b/drivers/net/usb/ax88179_178a.c
@@ -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,
-- 
1.8.1.4


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2 net-next] usbnet: ax88179_178a: Correct a typo in description
  2013-06-27  9:16 [PATCH 1/2 net-next] usbnet: ax88179_178a: Correct a typo in description David Chang
  2013-06-27  9:16 ` [PATCH 2/2 net-next] usbnet: ax88179_178a: add .reset_resume hook David Chang
@ 2013-06-29  4:40 ` David Miller
  1 sibling, 0 replies; 4+ messages in thread
From: David Miller @ 2013-06-29  4:40 UTC (permalink / raw)
  To: dchang; +Cc: gregkh, linux-usb, netdev, linux-kernel, jlee

From: David Chang <dchang@suse.com>
Date: Thu, 27 Jun 2013 17:16:42 +0800

> 
> Correct a typo in description of driver_info, it should be Gigabit
> 
> Signed-off-by: David Chang <dchang@suse.com>

Applied.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2 net-next] usbnet: ax88179_178a: add .reset_resume hook
  2013-06-27  9:16 ` [PATCH 2/2 net-next] usbnet: ax88179_178a: add .reset_resume hook David Chang
@ 2013-06-29  4:40   ` David Miller
  0 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2013-06-29  4:40 UTC (permalink / raw)
  To: dchang; +Cc: gregkh, linux-usb, netdev, linux-kernel, jlee

From: David Chang <dchang@suse.com>
Date: Thu, 27 Jun 2013 17:16:43 +0800

> 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.
> 
> Signed-off-by: David Chang <dchang@suse.com>

Applied.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-06-29  4:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-27  9:16 [PATCH 1/2 net-next] usbnet: ax88179_178a: Correct a typo in description David Chang
2013-06-27  9:16 ` [PATCH 2/2 net-next] usbnet: ax88179_178a: add .reset_resume hook David Chang
2013-06-29  4:40   ` David Miller
2013-06-29  4:40 ` [PATCH 1/2 net-next] usbnet: ax88179_178a: Correct a typo in description David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®