Commit 15168b20 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Mauro Carvalho Chehab

media: medium: cec: Make MEDIA_CEC_SUPPORT default to n if !MEDIA_SUPPORT

Recently, MEDIA_CEC_SUPPORT became indepedent of MEDIA_SUPPORT.
However, if MEDIA_SUPPORT is not enabled, MEDIA_SUPPORT_FILTER is not
defined, and MEDIA_CEC_SUPPORT is thus enabled by default, which is not
desirable.

Fix this by adding a dependency on MEDIA_CEC_SUPPORT to the default
configuration.

Fixes: 46d2a3b9 ("media: place CEC menu before MEDIA_SUPPORT")
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent d5aecd28
...@@ -24,7 +24,7 @@ config CEC_PIN_ERROR_INJ ...@@ -24,7 +24,7 @@ config CEC_PIN_ERROR_INJ
menuconfig MEDIA_CEC_SUPPORT menuconfig MEDIA_CEC_SUPPORT
bool bool
prompt "HDMI CEC drivers" prompt "HDMI CEC drivers"
default y if !MEDIA_SUPPORT_FILTER default y if MEDIA_SUPPORT && !MEDIA_SUPPORT_FILTER
help help
Enable support for HDMI CEC (Consumer Electronics Control), Enable support for HDMI CEC (Consumer Electronics Control),
which is an optional HDMI feature. which is an optional HDMI feature.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment