OSDN Git Service

media: Kconfig: allow to select drivers if EMBEDDED
authorStefan Agner <stefan@agner.ch>
Fri, 11 Jan 2019 15:49:51 +0000 (10:49 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 23 May 2019 14:52:35 +0000 (10:52 -0400)
commit8169cf0a02caafd87ee33e66c12f7a35606a6b0c
treece66beb958888d91e18449b88afe50936533ca86
parentb29ecab178b074be999afd5d6bf6e5b4c2bb782b
media: Kconfig: allow to select drivers if EMBEDDED

Embedded systems often connect to sensors or other multimedia
subdevices directly. Currently, to be able to select such a
subdevice (e.g. CONFIG_VIDEO_OV5640) disabling of the auto-
select config option is needed (CONFIG_MEDIA_SUBDRV_AUTOSELECT).

This is inconvenient as the ancillary drivers for a particular
device then need to be selected manually.

Allow to select drivers manually while keeping the auto-select
feature in case EXPERT (selected by EMBEDDED) is enabled.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/dvb-frontends/Kconfig
drivers/media/i2c/Kconfig
drivers/media/spi/Kconfig
drivers/media/tuners/Kconfig