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)
commit3d3cb1bffde15ee6e69532457bee20b5d424952b
tree506545aea046ff1d47bf0cfeebedf172fd643552
parentc7f268df3f4e80513271aea8e91f3fd0701aae1b
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