Skip to content
Snippets Groups Projects
user avatar
Arjan van de Ven authored
enable_irq_wake() and disable_irq_wake() need to be balanced.  However,
serial_core.c calls these for different conditions during the suspend and
resume functions...

This is causing a regular WARN_ON() as found at
http://www.kerneloops.org/search.php?search=set_irq_wake



This patch makes the conditions for triggering the _wake enable/disable
sequence identical.

Signed-off-by: default avatarArjan van de Ven <arjan@linux.intel.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
03a74dcc
History
Name Last commit Last update
..