summaryrefslogtreecommitdiffstats
path: root/include/media/cec.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2017-07-11 08:30:34 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-07-18 17:45:50 +0200
commitbb789e03f2a140a80ddc7d18b7ef4d626c2a71d8 (patch)
tree5436c83a46889582cc72234e49b0868173e4b1eb /include/media/cec.h
parentmedia: cec: only increase the seqnr if CEC_TRANSMIT would return 0 (diff)
downloadlinux-bb789e03f2a140a80ddc7d18b7ef4d626c2a71d8.tar.xz
linux-bb789e03f2a140a80ddc7d18b7ef4d626c2a71d8.zip
media: cec: improve transmit timeout logging
Kernel logging messes up the upcoming low-level CEC monitoring support which is very time-sensitive. So change the debug level of this message but keep a counter that is shown in the debugfs status log. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Reviewed-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/media/cec.h')
-rw-r--r--include/media/cec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/cec.h b/include/media/cec.h
index 56643b27e4b8..e32b0e1a81a4 100644
--- a/include/media/cec.h
+++ b/include/media/cec.h
@@ -174,6 +174,8 @@ struct cec_adapter {
bool passthrough;
struct cec_log_addrs log_addrs;
+ u32 tx_timeouts;
+
#ifdef CONFIG_CEC_NOTIFIER
struct cec_notifier *notifier;
#endif