From: David Chang <dchang@suse.com>
To: "David S. Miller" <davem@davemloft.net>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-usb@vger.kernel.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, jlee@suse.com,
David Chang <dchang@suse.com>
Subject: [PATCH 2/2 net-next] usbnet: ax88179_178a: add .reset_resume hook
Date: Thu, 27 Jun 2013 17:16:43 +0800 [thread overview]
Message-ID: <1372324603-4556-2-git-send-email-dchang@suse.com> (raw)
In-Reply-To: <1372324603-4556-1-git-send-email-dchang@suse.com>
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
next prev parent reply other threads:[~2013-06-27 9:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2013-06-29 4:40 ` [PATCH 2/2 net-next] usbnet: ax88179_178a: add .reset_resume hook David Miller
2013-06-29 4:40 ` [PATCH 1/2 net-next] usbnet: ax88179_178a: Correct a typo in description David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1372324603-4556-2-git-send-email-dchang@suse.com \
--to=dchang@suse.com \
--cc=davem@davemloft.net \
--cc=gregkh@linuxfoundation.org \
--cc=jlee@suse.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®