aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/media/cec.h
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2017-11-23 17:37:10 -0500
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-12-14 10:35:30 -0500
commit57c642cb45d6f7d0d950c3bc67439989062ac743 (patch)
treea8bb6ccd399309d7c359917291cc58f01cbffb7f /include/media/cec.h
parentmedia: imon: auto-config ffdc 30 device (diff)
downloadwireguard-linux-57c642cb45d6f7d0d950c3bc67439989062ac743.tar.xz
wireguard-linux-57c642cb45d6f7d0d950c3bc67439989062ac743.zip
media: cec: move cec autorepeat handling to rc-core
CEC autorepeat is different than other protocols. Autorepeat is triggered by the first repeated user control pressed CEC message, rather than a fixed REP_DELAY. This change also does away with the KEY_UP event directly after the first KEY_DOWN event, which was used to stop autorepeat from starting. See commit a9a249a2c997 ("media: cec: fix remote control passthrough") for the original change. Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/media/cec.h')
-rw-r--r--include/media/cec.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/media/cec.h b/include/media/cec.h
index 1c6a797cb6d4..7cdf71d7125a 100644
--- a/include/media/cec.h
+++ b/include/media/cec.h
@@ -192,11 +192,6 @@ struct cec_adapter {
u32 tx_timeouts;
-#ifdef CONFIG_MEDIA_CEC_RC
- bool rc_repeating;
- int rc_last_scancode;
- u64 rc_last_keypress;
-#endif
#ifdef CONFIG_CEC_NOTIFIER
struct cec_notifier *notifier;
#endif