[ARM] 4088/1: AT91: Unbalanced IRQ in serial driver suspend/resume
authorAndrew Victor <andrew@sanpeople.com>
Tue, 9 Jan 2007 12:20:54 +0000 (13:20 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 24 Jan 2007 11:59:55 +0000 (11:59 +0000)
commit9b938166907558e664d8fa413e6233a36669e0c0
treee19a582c7d77311b2faaafaeb50125bd398aee62
parente9d10a16ea76f42ea9ce58508e4af7c52acf1e40
[ARM] 4088/1: AT91: Unbalanced IRQ in serial driver suspend/resume

This patch fixes the unbalanced calls to enable_irq_wake() and
disable_irq_wake() in the AT91 (and AVR32) serial driver.

It should resolve these kernel messages:
  Unbalanced IRQ x wake disable
  BUG: warning at kernel/irq/manage.c:167/set_irq_wake()

Original patch from Marc Pignat.

Signed-off-by: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/serial/atmel_serial.c