]> git.baikalelectronics.ru Git - kernel.git/commit
media: cec-pin: add 'received' callback
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 9 Oct 2019 14:49:19 +0000 (11:49 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 24 Oct 2019 21:31:24 +0000 (18:31 -0300)
commit7cf6eff14f328f0384d188200fa04c2df4bc99c1
tree4e2b9cbfcfafe071f1f32ff402ac058267281362
parente555e432c8c03595d231c2d00e20eda78c895fe1
media: cec-pin: add 'received' callback

Drivers that use the CEC pin framework have no way of processing messages
themselves by providing the 'received' callback. This is present in
cec_ops, but not in cec_pin_ops.

Add support for this callback.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/cec/cec-pin.c
include/media/cec-pin.h