aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2011-01-17 20:07:56 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-01-17 23:37:17 (GMT)
commit1216e1dc8f87448464cf88adfaec9d3fbb4063e7 (patch)
tree084219c6f4ebde1a9dd609374b9ca46694e056cf
parentfd4564a8c4f23b5ea6526180898ca2aedda2444e (diff)
[media] firedtv: fix remote control - addendum
Dimitry notes that EV_SYN is also necessary between down and up, otherwise userspace could combine their state. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/dvb/firewire/firedtv-rc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb/firewire/firedtv-rc.c b/drivers/media/dvb/firewire/firedtv-rc.c
index 9bdc274..f82d4a9 100644
--- a/drivers/media/dvb/firewire/firedtv-rc.c
+++ b/drivers/media/dvb/firewire/firedtv-rc.c
@@ -190,6 +190,7 @@ void fdtv_handle_rc(struct firedtv *fdtv, unsigned int code)
}
input_report_key(idev, code, 1);
+ input_sync(idev);
input_report_key(idev, code, 0);
input_sync(idev);
}

Privacy Policy