summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c
diff options
context:
space:
mode:
authorStefan Agner2019-01-11 16:49:51 +0100
committerMauro Carvalho Chehab2019-05-23 16:52:35 +0200
commit8169cf0a02caafd87ee33e66c12f7a35606a6b0c (patch)
treece66beb958888d91e18449b88afe50936533ca86 /drivers/media/i2c
parentmedia: videobuf2-core.h: Document the alloc memop size argument as page aligned (diff)
downloadkernel-qcow2-linux-8169cf0a02caafd87ee33e66c12f7a35606a6b0c.tar.gz
kernel-qcow2-linux-8169cf0a02caafd87ee33e66c12f7a35606a6b0c.tar.xz
kernel-qcow2-linux-8169cf0a02caafd87ee33e66c12f7a35606a6b0c.zip
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/i2c')
-rw-r--r--drivers/media/i2c/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig
index 7793358ab8b3..730cad8a53da 100644
--- a/drivers/media/i2c/Kconfig
+++ b/drivers/media/i2c/Kconfig
@@ -5,7 +5,7 @@
if VIDEO_V4L2
config VIDEO_IR_I2C
- tristate "I2C module for IR" if !MEDIA_SUBDRV_AUTOSELECT
+ tristate "I2C module for IR" if !MEDIA_SUBDRV_AUTOSELECT || EXPERT
depends on I2C && RC_CORE
default y
help
@@ -22,7 +22,7 @@ config VIDEO_IR_I2C
#
menu "I2C Encoders, decoders, sensors and other helper chips"
- visible if !MEDIA_SUBDRV_AUTOSELECT || COMPILE_TEST
+ visible if !MEDIA_SUBDRV_AUTOSELECT || COMPILE_TEST || EXPERT
comment "Audio decoders, processors and mixers"