diff mbox

IR code autorepeat issue?

Message ID 4C7A8056.4070901@infradead.org (mailing list archive)
State Not Applicable
Headers show

Commit Message

Mauro Carvalho Chehab Aug. 29, 2010, 3:44 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/media/dvb/dvb-usb/dib0700_core.c b/drivers/media/dvb/dvb-usb/dib0700_core.c
index 164fa9c..a05d955 100644
--- a/drivers/media/dvb/dvb-usb/dib0700_core.c
+++ b/drivers/media/dvb/dvb-usb/dib0700_core.c
@@ -648,6 +648,9 @@  static int dib0700_probe(struct usb_interface *intf,
                        else
                                dev->props.rc.core.bulk_mode = false;
 
+                 /* Need a higher delay, to avoid wrong repeat */
+                 dev->rc_input_dev->rep[REP_DELAY] = 500;
+
                        dib0700_rc_setup(dev);

Maybe the better solution is to use, by default: