From: Diego Viola <diego.viola@gmail.com>
To: cooldavid@cooldavid.org
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
richard.weinberger@gmail.com, pavel@ucw.cz, rjw@rjwysocki.net,
davem@davemloft.net, Diego Viola <diego.viola@gmail.com>
Subject: [PATCH] net: jme: fix suspend/resume on JMC260
Date: Mon, 22 Feb 2016 21:32:52 -0300 [thread overview]
Message-ID: <1456187572-2964-1-git-send-email-diego.viola@gmail.com> (raw)
Signed-off-by: Diego Viola <diego.viola@gmail.com>
---
drivers/net/ethernet/jme.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/jme.c b/drivers/net/ethernet/jme.c
index b1de7af..8adbe8f 100644
--- a/drivers/net/ethernet/jme.c
+++ b/drivers/net/ethernet/jme.c
@@ -3312,13 +3312,14 @@ jme_resume(struct device *dev)
jme_reset_phy_processor(jme);
jme_phy_calibration(jme);
jme_phy_setEA(jme);
- jme_start_irq(jme);
netif_device_attach(netdev);
atomic_inc(&jme->link_changing);
jme_reset_link(jme);
+ jme_start_irq(jme);
+
return 0;
}
--
2.7.1
next reply other threads:[~2016-02-23 0:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-23 0:32 Diego Viola [this message]
2016-02-23 1:46 ` Fabio Estevam
2016-02-23 1:58 ` Diego Viola
2016-02-23 2:35 ` Diego Viola
2016-02-23 4:42 ` David Miller
2016-02-23 5:11 ` Diego Viola
2016-02-23 5:36 ` Diego Viola
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=1456187572-2964-1-git-send-email-diego.viola@gmail.com \
--to=diego.viola@gmail.com \
--cc=cooldavid@cooldavid.org \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pavel@ucw.cz \
--cc=richard.weinberger@gmail.com \
--cc=rjw@rjwysocki.net \
/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®