linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: jme: fix suspend/resume on JMC260
@ 2016-02-23  0:32 Diego Viola
  2016-02-23  1:46 ` Fabio Estevam
  0 siblings, 1 reply; 7+ messages in thread
From: Diego Viola @ 2016-02-23  0:32 UTC (permalink / raw)
  To: cooldavid
  Cc: netdev, linux-kernel, richard.weinberger, pavel, rjw, davem, Diego Viola

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

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

end of thread, other threads:[~2016-02-23  5:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-23  0:32 [PATCH] net: jme: fix suspend/resume on JMC260 Diego Viola
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).