OSDN Git Service

serial: sh-sci: Change checking for error rate of HSCIF
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Wed, 19 Nov 2014 22:58:27 +0000 (07:58 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Nov 2014 01:06:38 +0000 (17:06 -0800)
commitf53297fb99c8d2381a94cbaacc3e81c0c5db4cfd
tree73728cca8f60a61a20ff3a3395cd6ac1a3ebabe9
parent681b05f58f0cd13ea21ee46600a9ad679199214c
serial: sh-sci: Change checking for error rate of HSCIF

This changes negative values of error rate to be checked, because these
values are valid as error rate. And this changes in the process of adopting
a value close to 0.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sh-sci.c