]> asedeno.scripts.mit.edu Git - linux.git/commit
[media] media: add CEC notifier support
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 14 Nov 2016 13:55:20 +0000 (11:55 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 10 Apr 2017 15:48:28 +0000 (12:48 -0300)
commit6917a7b774133d60e0cfd8f9ac8bb62ae6ba10aa
tree097b1bab893a7a07792c0a611bb485652c426aae
parent0fc66c1949f93417f5995c623ad0876bbb1e6c60
[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: Hans Verkuil <hans.verkuil@cisco.com>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
MAINTAINERS
drivers/media/Kconfig
drivers/media/Makefile
drivers/media/cec-notifier.c [new file with mode: 0644]
include/media/cec-notifier.h [new file with mode: 0644]