diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2017-08-07 09:31:24 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-08-20 09:59:34 -0400 |
commit | a9a249a2c997506a64eaee22f1458fda893f62a8 (patch) | |
tree | f42ca4cf769e6f42431e67348d42dd3b232df78e /drivers/media/rc/keymaps/rc-avermedia.c | |
parent | d57ea877af38057b0ef31758cf3b99765dc33695 (diff) | |
download | lwn-a9a249a2c997506a64eaee22f1458fda893f62a8.tar.gz lwn-a9a249a2c997506a64eaee22f1458fda893f62a8.zip |
media: cec: fix remote control passthrough
The 'Press and Hold' operation was not correctly implemented, in
particular the requirement that the repeat doesn't start until
the second identical keypress arrives. The REP_DELAY value also
had to be adjusted (see the comment in the code) to achieve the
desired behavior.
The 'enabled_protocols' field was also never set, fix that too. Since
CEC is a fixed protocol the driver has to set this field.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/rc/keymaps/rc-avermedia.c')
0 files changed, 0 insertions, 0 deletions