OSDN Git Service

serial: sh-sci: use hrtimer for receive timeout
authorUlrich Hecht <ulrich.hecht+renesas@gmail.com>
Thu, 15 Feb 2018 12:02:41 +0000 (13:02 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Feb 2018 12:40:22 +0000 (13:40 +0100)
commitb96408b47480f9947eee933fcce35ed4ae74cc9a
tree04da2939647c4537ea228113e91637205dc64d39
parent08fb00c64f3401b4ecc18a7395cf302b8d8e12fd
serial: sh-sci: use hrtimer for receive timeout

High latencies of classic timers cause performance issues for high-
speed serial transmissions. This patch transforms rx_timer into an
hrtimer to reduce the minimum latency.

Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sh-sci.c