]> git.baikalelectronics.ru Git - kernel.git/commit
media: rc: per-protocol repeat period
authorSean Young <sean@mess.org>
Wed, 9 Aug 2017 17:19:16 +0000 (13:19 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sun, 20 Aug 2017 13:58:50 +0000 (09:58 -0400)
commit9136f599366e7491beab42e44b030357b0448893
tree675791f5e949f59eb9a17a42ca1fa0eb7c7a3fb2
parentea9341ec4a0c114c9c048b4be62a7e67c53c59ca
media: rc: per-protocol repeat period

CEC needs a keypress timeout of 550ms, which is too high for the IR
protocols. Also fill in known repeat times, with 50ms error margin.

Also, combine all protocol data into one structure.

Signed-off-by: Sean Young <sean@mess.org>
Suggested-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/rc/rc-main.c