41 lines
1.5 KiB
Diff
41 lines
1.5 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Christian Hewitt <christianshewitt@gmail.com>
|
|
Date: Tue, 7 Jan 2020 07:12:47 +0000
|
|
Subject: HACK: media: cec: silence CEC timeout message
|
|
|
|
If testing with an AVR that does not pass-through CEC state the system
|
|
log fills with timeout messages. Silence this to stop the log rotation
|
|
and ensure other issues are visible.
|
|
|
|
[ 42.718009] cec-meson_ao_cec: message ff 84 50 00 01 timed out
|
|
[ 45.021994] cec-meson_ao_cec: message ff 87 00 15 82 timed out
|
|
[ 47.325965] cec-meson_ao_cec: message 10 timed out
|
|
[ 49.630023] cec-meson_ao_cec: message 10 timed out
|
|
[ 51.933960] cec-meson_ao_cec: message 10 timed out
|
|
|
|
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
|
|
---
|
|
drivers/media/cec/core/cec-adap.c | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/drivers/media/cec/core/cec-adap.c b/drivers/media/cec/core/cec-adap.c
|
|
index 241b1621b197..a5823a416a0d 100644
|
|
--- a/drivers/media/cec/core/cec-adap.c
|
|
+++ b/drivers/media/cec/core/cec-adap.c
|
|
@@ -501,9 +501,9 @@ int cec_thread_func(void *_adap)
|
|
* default).
|
|
*/
|
|
if (adap->transmitting) {
|
|
- pr_warn("cec-%s: message %*ph timed out\n", adap->name,
|
|
- adap->transmitting->msg.len,
|
|
- adap->transmitting->msg.msg);
|
|
+ //pr_warn("cec-%s: message %*ph timed out\n", adap->name,
|
|
+ // adap->transmitting->msg.len,
|
|
+ // adap->transmitting->msg.msg);
|
|
/* Just give up on this. */
|
|
cec_data_cancel(adap->transmitting,
|
|
CEC_TX_STATUS_TIMEOUT, 0);
|
|
--
|
|
Armbian
|
|
|