summaryrefslogtreecommitdiffstats
path: root/drivers/media/Kconfig
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2016-11-14 11:55:20 -0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-04-10 12:48:28 -0300
commit6917a7b774133d60e0cfd8f9ac8bb62ae6ba10aa (patch)
tree097b1bab893a7a07792c0a611bb485652c426aae /drivers/media/Kconfig
parent0fc66c1949f93417f5995c623ad0876bbb1e6c60 (diff)
downloadlinux-stable-6917a7b774133d60e0cfd8f9ac8bb62ae6ba10aa.tar.gz
linux-stable-6917a7b774133d60e0cfd8f9ac8bb62ae6ba10aa.tar.bz2
linux-stable-6917a7b774133d60e0cfd8f9ac8bb62ae6ba10aa.zip
[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>
Diffstat (limited to 'drivers/media/Kconfig')
-rw-r--r--drivers/media/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig
index 3512316e7a46..9e9ded44e8a8 100644
--- a/drivers/media/Kconfig
+++ b/drivers/media/Kconfig
@@ -99,6 +99,10 @@ config MEDIA_CEC_DEBUG
config MEDIA_CEC_EDID
bool
+config MEDIA_CEC_NOTIFIER
+ bool
+ select MEDIA_CEC_EDID
+
#
# Media controller
# Selectable only for webcam/grabbers, as other drivers don't use it