serial: sh-sci: Clear (H)SCIF timeout and overrun during reset
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 24 Jun 2016 14:59:16 +0000 (16:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Jun 2016 16:09:53 +0000 (09:09 -0700)
commitfc2af3348a4acea0c28db89a8c84660d0baed4aa
treeadcb1ec97949d060df4d0874b88c99a61a8f55c6
parent2768cf42874ae04bdbc33a9c9db96181dc0bbb8d
serial: sh-sci: Clear (H)SCIF timeout and overrun during reset

Add the missing timeout bit definition for (H)SCIF.
Clear the timeout and overrun flag bits during UART reset, cfr. the
initialization flowchart in the datasheet.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sh-sci.c
drivers/tty/serial/sh-sci.h