]> git.baikalelectronics.ru Git - kernel.git/commit
sh-sci: update receive error handling for muxed irqs
authorMagnus Damm <damm@igel.co.jp>
Fri, 3 Jul 2009 08:39:34 +0000 (08:39 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 3 Jul 2009 08:45:58 +0000 (17:45 +0900)
commitd085c4e8ab10a2ed3e39da5b9d469433bce62222
tree77036f2d85c5d791a617c04cd8a498d08d2c6185
parent43459b91ba0936b412a251ee37f7a3523f270678
sh-sci: update receive error handling for muxed irqs

This patch updates the receive error code for muxed
interrupts in the sh-sci driver.

Receive error interrupts may be generated by the hardware
if RE or REIE bits in SCSCR are set. Update the muxed
interrupt handling code to acknowledge error interrupts
if RE or REIE is set, instead of only acknowledging if
REIE is set.

Without this patch error interrupts may be generated but
never acked resulting in a "nobody cared" crash.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/serial/sh-sci.c