]> err.no Git - linux-2.6/commit
serial: sh-sci: Fix fifo stall on SH7760/SH7780/SH7785 SCIF.
authorYutaro Ebihara <ebiharaml@si-linux.com>
Tue, 11 Mar 2008 04:58:50 +0000 (13:58 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 11 Mar 2008 04:58:50 +0000 (13:58 +0900)
commitcae167d3d7f22a6a54ba47e7c3623b4c45a01e2b
treea16bde3d820d2821f073df0b8c295ba0b54313ef
parent2f44bbb495dd3e6d0209eff2257438ab9c570e5b
serial: sh-sci: Fix fifo stall on SH7760/SH7780/SH7785 SCIF.

There was an off-by-1 in the SCRFDR calculation that caused writes over
128-bytes to hang in the FIFO. Fix it up.

Signed-off-by: Yutaro Ebihara <ebiharaml@si-linux.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/serial/sh-sci.c