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)
commit69e3235d58260d3d03570271da314829f9486237
tree4e2b9cbfcfafe071f1f32ff402ac058267281362
parent65d270acb2d662c3346793663ac3a759eb4491b8
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