aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-07-31 22:37:19 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-08-02 15:43:48 -0400
commit8dc09004978538d211ccc36b5046919489e30a55 (patch)
treef61e8136b83886f820cd9e7f66f4382d17bc2334
parent72b393106bddc9f0a1ab502b4c8c5793a0441a30 (diff)
V4L/DVB: dib0700: avoid bad repeat
a 250ms delay is too low for this device. It ends by producing false repeat events. Increase the delay time to 500 ms to avoid troubles. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/dvb/dvb-usb/dib0700_core.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/dvb/dvb-usb/dib0700_core.c b/drivers/media/dvb/dvb-usb/dib0700_core.c
index 164fa9c3bec1..a05d95592226 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,
648 else 648 else
649 dev->props.rc.core.bulk_mode = false; 649 dev->props.rc.core.bulk_mode = false;
650 650
651 /* Need a higher delay, to avoid wrong repeat */
652 dev->rc_input_dev->rep[REP_DELAY] = 500;
653
651 dib0700_rc_setup(dev); 654 dib0700_rc_setup(dev);
652 655
653 return 0; 656 return 0;