[incremental,update] firedtv: fix remote control - addendum

Message ID 20110117210756.510d4135@stein (mailing list archive)
State Superseded, archived
Headers

Commit Message

Stefan Richter Jan. 17, 2011, 8:07 p.m. UTC
  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>
---
Hi Mauro,
since you already pushed out the first version of "firedtv: fix remote
control with newer Xorg evdev", here is the differential patch to the
updated version.  It's surely not super urgent though.

 drivers/media/dvb/firewire/firedtv-rc.c |    1 +
 1 file changed, 1 insertion(+)
  

Patch

Index: b/drivers/media/dvb/firewire/firedtv-rc.c
===================================================================
--- 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
 	}
 
 	input_report_key(idev, code, 1);
+	input_sync(idev);
 	input_report_key(idev, code, 0);
 	input_sync(idev);
 }