diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2017-07-11 03:30:36 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-07-18 12:47:29 -0300 |
commit | e6259b5f7ab74e399f838cb1abdc12f3e28668f4 (patch) | |
tree | 95238ea8e3208f9d352b3f2c251a50b54eecf9d7 /include/media/cec.h | |
parent | 0861ad14c6cfc9dc8bcde44bc23a7a355167eb9f (diff) | |
download | linux-e6259b5f7ab74e399f838cb1abdc12f3e28668f4.tar.bz2 |
media: cec: add adap_free op
This is needed for CEC adapters that allocate resources that have
to be freed before the cec_adapter is deleted.
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/cec.h b/include/media/cec.h index e1e60dbb66c3..37768203572d 100644 --- a/include/media/cec.h +++ b/include/media/cec.h @@ -114,6 +114,7 @@ struct cec_adap_ops { 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); + void (*adap_free)(struct cec_adapter *adap); /* High-level CEC message callback */ int (*received)(struct cec_adapter *adap, struct cec_msg *msg); |