Sean Young
f889ad87b2
media: rc: partial revert of "media: rc: per-protocol repeat period"
...
commit 67f0f15ad5 upstream.
Since commit d57ea877af ("media: rc: per-protocol repeat period"), most
IR protocols have a lower keyup timeout. This causes problems on the
ite-cir, which has default IR timeout of 200ms.
Since the IR decoders read the trailing space, with a IR timeout of 200ms,
the last keydown will have at least a delay of 200ms. This is more than
the protocol timeout of e.g. rc-6 (which is 164ms). As a result the last
IR will be interpreted as a new keydown event, and we get two keypresses.
Revert the protocol timeout to 250ms, except for cec which needs a timeout
of 550ms.
Fixes: d57ea877af ("media: rc: per-protocol repeat period")
Reported-by: Matthias Reichl <hias@horus.com >
Signed-off-by: Sean Young <sean@mess.org >
Tested-by: Matthias Reichl <hias@horus.com >
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-12-14 09:53:00 +01:00
..
2017-11-02 11:10:55 +01:00
2017-12-05 11:26:33 +01:00
2017-11-02 11:10:55 +01:00
2017-12-10 13:40:37 +01:00
2017-11-30 08:40:47 +00:00
2017-11-02 11:10:55 +01:00
2017-11-03 09:02:30 -07:00
2017-12-14 09:52:51 +01:00
2017-11-02 11:10:55 +01:00
2017-11-30 08:40:41 +00:00
2017-11-30 08:40:47 +00:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-24 08:37:05 +01:00
2017-11-30 08:40:54 +00:00
2017-12-10 13:40:41 +01:00
2017-11-02 11:10:55 +01:00
2017-12-10 13:40:41 +01:00
2017-11-21 09:49:21 +01:00
2017-12-05 11:26:28 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-21 09:49:20 +01:00
2017-12-10 13:40:44 +01:00
2017-12-10 13:40:41 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-14 09:52:52 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-14 09:52:59 +01:00
2017-11-21 09:49:23 +01:00
2017-11-02 11:10:55 +01:00
2017-12-14 09:52:49 +01:00
2017-12-10 13:40:40 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-05 11:26:33 +01:00
2017-11-07 09:12:04 -08:00
2017-11-04 15:01:50 +01:00
2017-12-14 09:52:49 +01:00
2017-12-05 11:26:37 +01:00
2017-11-10 14:14:23 -08:00
2017-12-14 09:52:55 +01:00
2017-11-30 08:40:53 +00:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-30 08:40:52 +00:00
2017-11-02 11:10:55 +01:00
2017-12-14 09:52:59 +01:00
2017-12-14 09:53:00 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-30 08:40:49 +00:00
2017-12-05 11:26:34 +01:00
2017-12-10 13:40:40 +01:00
2017-11-30 08:40:55 +00:00
2017-12-14 09:52:58 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-30 08:40:54 +00:00
2017-12-05 11:26:34 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-10 13:40:40 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-14 09:52:49 +01:00
2017-12-05 11:26:27 +01:00
2017-11-02 11:10:55 +01:00
2017-11-03 09:02:30 -07:00
2017-09-08 18:26:51 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 10:04:46 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-21 09:49:23 +01:00
2017-11-02 11:10:55 +01:00
2017-12-10 13:40:38 +01:00
2017-11-02 11:10:55 +01:00
2017-12-14 09:52:51 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-10 13:40:39 +01:00
2017-11-02 11:10:55 +01:00
2017-12-10 13:40:44 +01:00
2017-11-30 08:40:51 +00:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-14 09:52:44 +01:00
2017-11-02 11:10:55 +01:00
2017-12-14 09:52:45 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-30 08:40:49 +00:00
2017-11-02 11:10:55 +01:00
2017-12-14 09:52:48 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 10:04:46 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00