]> git.baikalelectronics.ru Git - kernel.git/commit
net: jme: fix suspend/resume on JMC260
authorDiego Viola <diego.viola@gmail.com>
Tue, 23 Feb 2016 15:04:04 +0000 (12:04 -0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Feb 2016 04:58:21 +0000 (23:58 -0500)
commit99ac92e4a2808a44ea8636bf24a56498c9eef8ce
treea2cfe07446fc9d7a5fac0dd59d15833eab3a9b74
parent7dede16f164be66300ba8f9f853d3f65b925752a
net: jme: fix suspend/resume on JMC260

The JMC260 network card fails to suspend/resume because the call to
jme_start_irq() was too early, moving the call to jme_start_irq() after
the call to jme_reset_link() makes it work.

Prior this change suspend/resume would fail unless /sys/power/pm_async=0
was explicitly specified.

Relevant bug report: https://bugzilla.kernel.org/show_bug.cgi?id=112351

Signed-off-by: Diego Viola <diego.viola@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/jme.c