ARM: config: aspeed: Fix selection of media drivers
authorJoel Stanley <joel@jms.id.au>
Wed, 26 Aug 2020 07:19:16 +0000 (16:49 +0930)
committerJoel Stanley <joel@jms.id.au>
Fri, 11 Sep 2020 05:55:24 +0000 (15:25 +0930)
commit98c3f0a1b3ef83f6be6b212c970bee795e1a0467
tree8de1531a28d74cf82ced101abb31cc64a199382e
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5
ARM: config: aspeed: Fix selection of media drivers

In the 5.7 merge window the media kconfig was restructued. For most
platforms these changes set CONFIG_MEDIA_SUPPORT_FILTER=y which keeps
unwanted drivers disabled.

The exception is if a config sets EMBEDDED or EXPERT (see b0cd4fb27665).
In that case the filter is set to =n, causing a bunch of DVB tuner drivers
(MEDIA_TUNER_*) to be accidentally enabled. This was noticed as it blew
out the build time for the Aspeed defconfigs.

Enabling the filter means the Aspeed config also needs to set
CONFIG_MEDIA_PLATFORM_SUPPORT=y in order to have the CONFIG_VIDEO_ASPEED
driver enabled.

Fixes: 06b93644f4d1 ("media: Kconfig: add an option to filter in/out platform drivers")
Fixes: b0cd4fb27665 ("media: Kconfig: on !EMBEDDED && !EXPERT, enable driver filtering")
Signed-off-by: Joel Stanley <joel@jms.id.au>
Cc: stable@vger.kernel.org
CC: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
arch/arm/configs/aspeed_g4_defconfig
arch/arm/configs/aspeed_g5_defconfig