media: medium: cec: Make MEDIA_CEC_SUPPORT default to n if !MEDIA_SUPPORT
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 4 Jun 2020 09:39:53 +0000 (11:39 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 11 Jun 2020 17:19:50 +0000 (19:19 +0200)
commit15168b204691aa8cbff043c1151e9dbfdd088364
tree332a891a87360c09d791ee5dcb77ec93c303ed7c
parentd5aecd289babf3adcf5a837b067a5efddb097d99
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: 46d2a3b964ddbe63 ("media: place CEC menu before MEDIA_SUPPORT")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/cec/Kconfig