serial: sh-sci: Don't set SCLSR bits in the SCxSR error mask
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 30 Apr 2015 16:21:33 +0000 (18:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 May 2015 17:06:39 +0000 (19:06 +0200)
commitafd66db6138989b54c1f7d3c688551b70482133a
treedf28fc954959b302fdca265487420d62a8701ebc
parent2e0842a154f63ae222ececd6b6b1db4c75426516
serial: sh-sci: Don't set SCLSR bits in the SCxSR error mask

error_mask is the union of all error indicating bits in the SCxSR
register, while overrun_mask may apply to a different register (SCLSR),
depending on the SCI variant.

Hence overrun_mask should only be ORed into error_mask if it applies to
the SCxSR register.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sh-sci.c
This page took 0.025996 seconds and 5 git commands to generate.