diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-08-20 10:28:17 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-08-20 10:28:17 -0300 |
commit | 990c9e823d0db2e126fae7a2ead592ebd1ea2e6f (patch) | |
tree | 4b25867a771d3871803254cc9a6871eeef9b8305 /linux/drivers/media/video/cx88/cx88-input.c | |
parent | 31da1cf039c5d397bbe955fd1e9903d19e7ff9e2 (diff) | |
download | mediapointer-dvb-s2-990c9e823d0db2e126fae7a2ead592ebd1ea2e6f.tar.gz mediapointer-dvb-s2-990c9e823d0db2e126fae7a2ead592ebd1ea2e6f.tar.bz2 |
cx88: Apply version 2 of high resolution timer for RC
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Patch solves problem of missed keystrokes on some remote controls,
as reported on http://bugzilla.kernel.org/show_bug.cgi?id=9637 .
Changes of version 2:
* Driver no longer builds on kernels < 2.6.22, so add an entry to
v4l/versions.txt
* Add a missing static.
Build-tested on 2.6.22.
Priority: normal
Signed-off-by: Andrzej Hajda <andrzej.hajda@wp.pl>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
[mchehab@redhat.com: this patch will be merged with version 1 for upstream submission]
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-input.c')
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-input.c b/linux/drivers/media/video/cx88/cx88-input.c index a585245df..6a3687a88 100644 --- a/linux/drivers/media/video/cx88/cx88-input.c +++ b/linux/drivers/media/video/cx88/cx88-input.c @@ -23,10 +23,10 @@ */ #include <linux/init.h> +#include <linux/hrtimer.h> #include <linux/input.h> #include <linux/pci.h> #include <linux/module.h> -#include <linux/hrtimer.h> #include "compat.h" #include "cx88.h" @@ -145,7 +145,7 @@ static void cx88_ir_handle_key(struct cx88_IR *ir) } } -enum hrtimer_restart cx88_ir_work(struct hrtimer *timer) +static enum hrtimer_restart cx88_ir_work(struct hrtimer *timer) { unsigned long missed; struct cx88_IR *ir = container_of(timer, struct cx88_IR, timer); |