Skip to content

Commit 15168b2

Browse files
geertumchehab
authored andcommitted
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: 46d2a3b ("media: place CEC menu before MEDIA_SUPPORT") Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent d5aecd2 commit 15168b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/media/cec/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ config CEC_PIN_ERROR_INJ
2424
menuconfig MEDIA_CEC_SUPPORT
2525
bool
2626
prompt "HDMI CEC drivers"
27-
default y if !MEDIA_SUPPORT_FILTER
27+
default y if MEDIA_SUPPORT && !MEDIA_SUPPORT_FILTER
2828
help
2929
Enable support for HDMI CEC (Consumer Electronics Control),
3030
which is an optional HDMI feature.

0 commit comments

Comments
 (0)