]> git.baikalelectronics.ru Git - kernel.git/commit
serial: sh-sci: Add calculation recive margin for HSCIF
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Mon, 14 Jul 2014 07:10:00 +0000 (16:10 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jul 2014 01:14:44 +0000 (18:14 -0700)
commit9ae0b761215fd6c148d10d2084e5582cdaf021ca
treeec2074519003259f85a19048702d30f01c581f0c
parentaa2e447bc3b334697c1f8babe08c7fc3f4af2848
serial: sh-sci: Add calculation recive margin for HSCIF

When the error of the same bit rate is detected, we will need to select
the recive margin is large. Current code holds the minimum error, it does
not have to check the recive margin. This adds this calculation.

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