From: Steve Glendinning <steve.glendinning@shawell.net>
To: netdev@vger.kernel.org
Cc: Steve Glendinning <steve.glendinning@shawell.net>
Subject: [PATCH 4/6] smsc95xx: fix resume when usb device is reset
Date: Fri, 28 Sep 2012 11:07:10 +0100 [thread overview]
Message-ID: <1348826832-1986-5-git-send-email-steve.glendinning@shawell.net> (raw)
In-Reply-To: <1348826832-1986-1-git-send-email-steve.glendinning@shawell.net>
This patch fixes an issue on some systems, where after suspend the
link is re-established but the ethernet interface does not resume.
Signed-off-by: Steve Glendinning <steve.glendinning@shawell.net>
---
drivers/net/usb/smsc95xx.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/usb/smsc95xx.c b/drivers/net/usb/smsc95xx.c
index d0ff01e..f29860d 100644
--- a/drivers/net/usb/smsc95xx.c
+++ b/drivers/net/usb/smsc95xx.c
@@ -1282,6 +1282,7 @@ static struct usb_driver smsc95xx_driver = {
.probe = usbnet_probe,
.suspend = usbnet_suspend,
.resume = usbnet_resume,
+ .reset_resume = usbnet_resume,
.disconnect = usbnet_disconnect,
.disable_hub_initiated_lpm = 1,
};
--
1.7.9.5
next prev parent reply other threads:[~2012-09-28 10:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-28 10:07 [PATCH 0/6] smsc95xx enhancements (V3) Steve Glendinning
2012-09-28 10:07 ` [PATCH 1/6] smsc95xx: sleep before read for lengthy operations Steve Glendinning
2012-09-28 10:07 ` [PATCH 2/6] smsc95xx: remove unnecessary variables Steve Glendinning
2012-09-28 10:07 ` [PATCH 3/6] smsc95xx: check return code from control messages Steve Glendinning
2012-09-28 10:07 ` Steve Glendinning [this message]
2012-09-28 10:07 ` [PATCH 5/6] smsc95xx: enable power saving mode during system suspend Steve Glendinning
2012-09-28 10:07 ` [PATCH 6/6] smsc95xx: add wol magic packet support Steve Glendinning
2012-09-28 22:39 ` [PATCH 0/6] smsc95xx enhancements (V3) 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=1348826832-1986-5-git-send-email-steve.glendinning@shawell.net \
--to=steve.glendinning@shawell.net \
--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