Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 211329
b: refs/heads/master
c: 04cab13
h: refs/heads/master
i:
  211327: 4564a1d
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Sep 28, 2010
1 parent ac6fbc8 commit 3a0c16c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3bfb317f97cfddbbec67bbe8e35ad38af3507397
refs/heads/master: 04cab131ce2a267b6777a98d68fbc0cae44d4ba8
7 changes: 7 additions & 0 deletions trunk/drivers/media/IR/ir-keytable.c
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,13 @@ int __ir_input_register(struct input_dev *input_dev,
(ir_dev->props && ir_dev->props->driver_type == RC_DRIVER_IR_RAW) ?
" in raw mode" : "");

/*
* Default delay of 250ms is too short for some protocols, expecially
* since the timeout is currently set to 250ms. Increase it to 500ms,
* to avoid wrong repetition of the keycodes.
*/
input_dev->rep[REP_DELAY] = 500;

return 0;

out_event:
Expand Down
3 changes: 0 additions & 3 deletions trunk/drivers/media/dvb/dvb-usb/dib0700_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -673,9 +673,6 @@ 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);

return 0;
Expand Down

0 comments on commit 3a0c16c

Please sign in to comment.