Commit 5344fe6e authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab

[media] Improve media Kconfig menu

I've always found it very confusing that the "Media ancillary drivers (tuners,
sensors, i2c, frontends)" comment came after the "Autoselect" option. This patch
moves it up and changes the "Autoselect" text to correspond more closely to
the "Media ancillary drivers" comment.
It also fixes two typos.
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 1ca6ae8d
...@@ -164,17 +164,20 @@ source "drivers/media/firewire/Kconfig" ...@@ -164,17 +164,20 @@ source "drivers/media/firewire/Kconfig"
# Common driver options # Common driver options
source "drivers/media/common/Kconfig" source "drivers/media/common/Kconfig"
comment "Media ancillary drivers (tuners, sensors, i2c, frontends)"
# #
# Ancillary drivers (tuners, i2c, frontends) # Ancillary drivers (tuners, i2c, frontends)
# #
config MEDIA_SUBDRV_AUTOSELECT config MEDIA_SUBDRV_AUTOSELECT
bool "Autoselect tuners and i2c modules to build" bool "Autoselect ancillary drivers (tuners, sensors, i2c, frontends)"
depends on MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_CAMERA_SUPPORT depends on MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_CAMERA_SUPPORT
default y default y
help help
By default, a media driver auto-selects all possible i2c By default, a media driver auto-selects all possible ancillary
devices that are used by any of the supported devices. devices such as tuners, sensors, video encoders/decoders and
frontends, that are used by any of the supported devices.
This is generally the right thing to do, except when there This is generally the right thing to do, except when there
are strict constraints with regards to the kernel size, are strict constraints with regards to the kernel size,
...@@ -183,12 +186,10 @@ config MEDIA_SUBDRV_AUTOSELECT ...@@ -183,12 +186,10 @@ config MEDIA_SUBDRV_AUTOSELECT
Use this option with care, as deselecting ancillary drivers which Use this option with care, as deselecting ancillary drivers which
are, in fact, necessary will result in the lack of the needed are, in fact, necessary will result in the lack of the needed
functionality for your device (it may not tune or may not have functionality for your device (it may not tune or may not have
the need demodulers). the needed demodulators).
If unsure say Y. If unsure say Y.
comment "Media ancillary drivers (tuners, sensors, i2c, frontends)"
source "drivers/media/i2c/Kconfig" source "drivers/media/i2c/Kconfig"
source "drivers/media/tuners/Kconfig" source "drivers/media/tuners/Kconfig"
source "drivers/media/dvb-frontends/Kconfig" source "drivers/media/dvb-frontends/Kconfig"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment