]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commitee50c130c82175eaa0820c96b6d3763928af2241
treea2cfe07446fc9d7a5fac0dd59d15833eab3a9b74
parent25ac3417b79b0aafd2401c96503716901be4533b
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