]> err.no Git - linux-2.6/commit
atmel_serial: fix interrupt handler return value
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Sat, 23 Feb 2008 23:23:36 +0000 (15:23 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 24 Feb 2008 01:12:14 +0000 (17:12 -0800)
commit0400b697ef20247d26427e4beb6a84ca5aa51f45
tree1d7461bea423da98bb8d4ac409a69126b7f8c9cb
parent98bcef56cadb4da138e2c1a2a0790f372382b236
atmel_serial: fix interrupt handler return value

We should only return IRQ_HANDLED when we actually found something to
handle. This is important since the USART interrupt handler may be
shared with the timer interrupt on some chips.

Pointed-out-by: michael <trimarchi@gandalf.sssup.it>
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/atmel_serial.c