sh: Fix up the shared IRQ demuxer's control bit testing logic.
authorMichael Trimarchi <trimarchimichael@yahoo.it>
Fri, 31 Oct 2008 07:10:23 +0000 (16:10 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 31 Oct 2008 07:10:23 +0000 (16:10 +0900)
commita8884e3415c29c58a5875d54c109c4a7fcaa6fb4
treedecd6b4aa58b398b6540086342724b5fad546bfb
parent7abc404a5a1e3785749acb8dbfcc558223f78444
sh: Fix up the shared IRQ demuxer's control bit testing logic.

Correct the interrupt handler in sh4 serial device, return the correct
value and check for what is anabled in the SCSCR register. The sh7722 is
broken just sending a break using minicom.

Signed-off-by: Michael Trimarchi <trimarchimichael@yahoo.it>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/serial/sh-sci.c
drivers/serial/sh-sci.h