summary refs log tree commit diff
path: root/drivers/media/spi
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2019-01-11 10:49:51 -0500
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-05-23 10:52:35 -0400
commit8169cf0a02caafd87ee33e66c12f7a35606a6b0c (patch)
treece66beb958888d91e18449b88afe50936533ca86 /drivers/media/spi
parentb29ecab178b074be999afd5d6bf6e5b4c2bb782b (diff)
downloadlinux-8169cf0a02caafd87ee33e66c12f7a35606a6b0c.tar.gz
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>
Diffstat (limited to 'drivers/media/spi')
-rw-r--r--drivers/media/spi/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/spi/Kconfig b/drivers/media/spi/Kconfig
index df169ecf0c27..a20f84faba67 100644
--- a/drivers/media/spi/Kconfig
+++ b/drivers/media/spi/Kconfig
@@ -1,7 +1,7 @@
 if VIDEO_V4L2
 
 menu "SPI helper chips"
-	visible if !MEDIA_SUBDRV_AUTOSELECT || COMPILE_TEST
+	visible if !MEDIA_SUBDRV_AUTOSELECT || COMPILE_TEST || EXPERT
 
 config VIDEO_GS1662
 	tristate "Gennum Serializers video"