jme: fix irq storm after suspend/resume
If the device is down during suspend/resume, interrupts are enabled without a registered interrupt handler, causing a storm of unhandled interrupts until the IRQ is disabled because "nobody cared". Instead, check that the device is up before touching it in the suspend/resume code. Fixes https://bugzilla.kernel.org/show_bug.cgi?id=39112Helped-by: NAdrian Chadd <adrian@freebsd.org> Helped-by: NMohammed Shafi <shafi.wireless@gmail.com> Signed-off-by: NClemens Buchacher <drizzd@aon.at> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录