[media] media: add CEC notifier support
Add support for CEC notifiers, which is used to convey CEC physical address information from video drivers to their CEC counterpart driver(s). Based on an earlier version from Russell King: https://patchwork.kernel.org/patch/9277043/ The cec_notifier is a reference counted object containing the CEC physical address state of a video device. When a new notifier is registered the current state will be reported to that notifier at registration time. Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com> Tested-by: NMarek Szyprowski <m.szyprowski@samsung.com> Tested-by: NBenjamin Gaignard <benjamin.gaignard@linaro.org> Acked-by: NDaniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
Showing
drivers/media/cec-notifier.c
0 → 100644
include/media/cec-notifier.h
0 → 100644
想要评论请 注册 或 登录