]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/staging/speakup/main: fixed jiffie comparison
authorRobin Schroer <sulamiification@gmail.com>
Thu, 12 Jun 2014 23:17:30 +0000 (01:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Jun 2014 00:12:01 +0000 (17:12 -0700)
commit2e951509ca84801a37769cb7f54448b12f1fbf97
tree506545aea046ff1d47bf0cfeebedf172fd643552
parent0c6d05cf9a652a1414d22ceb69bb6a7ad4093fa7
drivers/staging/speakup/main: fixed jiffie comparison

speakup_key() used manual comparison of jiffies to determine the time
since the last keypress, replaced it with time_after()

Signed-off-by: Robin Schroer <sulamiification@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/speakup/main.c