media: cec: add adap_free op
authorHans Verkuil <hans.verkuil@cisco.com>
Tue, 11 Jul 2017 06:30:36 +0000 (03:30 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 18 Jul 2017 15:47:29 +0000 (12:47 -0300)
commite6259b5f7ab74e399f838cb1abdc12f3e28668f4
tree95238ea8e3208f9d352b3f2c251a50b54eecf9d7
parent0861ad14c6cfc9dc8bcde44bc23a7a355167eb9f
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>
drivers/media/cec/cec-core.c
include/media/cec.h