summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2022-02-03 13:11:15 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-04-24 08:41:35 +0200
commitf1b57164305d6342b9f77a4f4482cde492b56983 (patch)
tree7877791677c5e594fbfbcdb66ba0316243830f69 /include/media
parentmedia: cec: add xfer_timeout_ms field (diff)
downloadlinux-f1b57164305d6342b9f77a4f4482cde492b56983.tar.xz
linux-f1b57164305d6342b9f77a4f4482cde492b56983.zip
media: cec: add optional adap_configured callback
This new optional callback is called when the adapter is fully configured or fully unconfigured. Some drivers may have to take action when this happens. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/cec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/cec.h b/include/media/cec.h
index 80340c9eb0f2..6f13b0222aa3 100644
--- a/include/media/cec.h
+++ b/include/media/cec.h
@@ -118,6 +118,7 @@ struct cec_adap_ops {
int (*adap_monitor_all_enable)(struct cec_adapter *adap, bool enable);
int (*adap_monitor_pin_enable)(struct cec_adapter *adap, bool enable);
int (*adap_log_addr)(struct cec_adapter *adap, u8 logical_addr);
+ void (*adap_configured)(struct cec_adapter *adap, bool configured);
int (*adap_transmit)(struct cec_adapter *adap, u8 attempts,
u32 signal_free_time, struct cec_msg *msg);
void (*adap_status)(struct cec_adapter *adap, struct seq_file *file);