ALSA: hda - Add warning texts when codec driver Kconfig doesn't match
When a Kconfig of a codec driver doesn't match with the controller (CONFIG_SND_HDA_INTEL), it'll result in the non-working automatic probing. Unfortunately kbuild can't give such a restriction, but at least, it's possible to show a warning if such a condition is found. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
2698ea9805
commit
d8f66c71d5
|
@ -93,6 +93,9 @@ config SND_HDA_CODEC_REALTEK
|
||||||
Say Y or M here to include Realtek HD-audio codec support in
|
Say Y or M here to include Realtek HD-audio codec support in
|
||||||
snd-hda-intel driver, such as ALC880.
|
snd-hda-intel driver, such as ALC880.
|
||||||
|
|
||||||
|
comment "Set to Y if you want auto-loading the codec driver"
|
||||||
|
depends on SND_HDA_INTEL=y && SND_HDA_CODEC_REALTEK=m
|
||||||
|
|
||||||
config SND_HDA_CODEC_ANALOG
|
config SND_HDA_CODEC_ANALOG
|
||||||
tristate "Build Analog Device HD-audio codec support"
|
tristate "Build Analog Device HD-audio codec support"
|
||||||
select SND_HDA_GENERIC
|
select SND_HDA_GENERIC
|
||||||
|
@ -100,6 +103,9 @@ config SND_HDA_CODEC_ANALOG
|
||||||
Say Y or M here to include Analog Device HD-audio codec support in
|
Say Y or M here to include Analog Device HD-audio codec support in
|
||||||
snd-hda-intel driver, such as AD1986A.
|
snd-hda-intel driver, such as AD1986A.
|
||||||
|
|
||||||
|
comment "Set to Y if you want auto-loading the codec driver"
|
||||||
|
depends on SND_HDA_INTEL=y && SND_HDA_CODEC_ANALOG=m
|
||||||
|
|
||||||
config SND_HDA_CODEC_SIGMATEL
|
config SND_HDA_CODEC_SIGMATEL
|
||||||
tristate "Build IDT/Sigmatel HD-audio codec support"
|
tristate "Build IDT/Sigmatel HD-audio codec support"
|
||||||
select SND_HDA_GENERIC
|
select SND_HDA_GENERIC
|
||||||
|
@ -107,6 +113,9 @@ config SND_HDA_CODEC_SIGMATEL
|
||||||
Say Y or M here to include IDT (Sigmatel) HD-audio codec support in
|
Say Y or M here to include IDT (Sigmatel) HD-audio codec support in
|
||||||
snd-hda-intel driver, such as STAC9200.
|
snd-hda-intel driver, such as STAC9200.
|
||||||
|
|
||||||
|
comment "Set to Y if you want auto-loading the codec driver"
|
||||||
|
depends on SND_HDA_INTEL=y && SND_HDA_CODEC_SIGMATEL=m
|
||||||
|
|
||||||
config SND_HDA_CODEC_VIA
|
config SND_HDA_CODEC_VIA
|
||||||
tristate "Build VIA HD-audio codec support"
|
tristate "Build VIA HD-audio codec support"
|
||||||
select SND_HDA_GENERIC
|
select SND_HDA_GENERIC
|
||||||
|
@ -114,6 +123,9 @@ config SND_HDA_CODEC_VIA
|
||||||
Say Y or M here to include VIA HD-audio codec support in
|
Say Y or M here to include VIA HD-audio codec support in
|
||||||
snd-hda-intel driver, such as VT1708.
|
snd-hda-intel driver, such as VT1708.
|
||||||
|
|
||||||
|
comment "Set to Y if you want auto-loading the codec driver"
|
||||||
|
depends on SND_HDA_INTEL=y && SND_HDA_CODEC_VIA=m
|
||||||
|
|
||||||
config SND_HDA_CODEC_HDMI
|
config SND_HDA_CODEC_HDMI
|
||||||
tristate "Build HDMI/DisplayPort HD-audio codec support"
|
tristate "Build HDMI/DisplayPort HD-audio codec support"
|
||||||
help
|
help
|
||||||
|
@ -121,6 +133,9 @@ config SND_HDA_CODEC_HDMI
|
||||||
support in snd-hda-intel driver. This includes all AMD/ATI,
|
support in snd-hda-intel driver. This includes all AMD/ATI,
|
||||||
Intel and Nvidia HDMI/DisplayPort codecs.
|
Intel and Nvidia HDMI/DisplayPort codecs.
|
||||||
|
|
||||||
|
comment "Set to Y if you want auto-loading the codec driver"
|
||||||
|
depends on SND_HDA_INTEL=y && SND_HDA_CODEC_HDMI=m
|
||||||
|
|
||||||
config SND_HDA_I915
|
config SND_HDA_I915
|
||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
|
@ -133,6 +148,9 @@ config SND_HDA_CODEC_CIRRUS
|
||||||
Say Y or M here to include Cirrus Logic codec support in
|
Say Y or M here to include Cirrus Logic codec support in
|
||||||
snd-hda-intel driver, such as CS4206.
|
snd-hda-intel driver, such as CS4206.
|
||||||
|
|
||||||
|
comment "Set to Y if you want auto-loading the codec driver"
|
||||||
|
depends on SND_HDA_INTEL=y && SND_HDA_CODEC_CIRRUS=m
|
||||||
|
|
||||||
config SND_HDA_CODEC_CONEXANT
|
config SND_HDA_CODEC_CONEXANT
|
||||||
tristate "Build Conexant HD-audio codec support"
|
tristate "Build Conexant HD-audio codec support"
|
||||||
select SND_HDA_GENERIC
|
select SND_HDA_GENERIC
|
||||||
|
@ -140,6 +158,9 @@ config SND_HDA_CODEC_CONEXANT
|
||||||
Say Y or M here to include Conexant HD-audio codec support in
|
Say Y or M here to include Conexant HD-audio codec support in
|
||||||
snd-hda-intel driver, such as CX20549.
|
snd-hda-intel driver, such as CX20549.
|
||||||
|
|
||||||
|
comment "Set to Y if you want auto-loading the codec driver"
|
||||||
|
depends on SND_HDA_INTEL=y && SND_HDA_CODEC_CONEXANT=m
|
||||||
|
|
||||||
config SND_HDA_CODEC_CA0110
|
config SND_HDA_CODEC_CA0110
|
||||||
tristate "Build Creative CA0110-IBG codec support"
|
tristate "Build Creative CA0110-IBG codec support"
|
||||||
select SND_HDA_GENERIC
|
select SND_HDA_GENERIC
|
||||||
|
@ -147,12 +168,18 @@ config SND_HDA_CODEC_CA0110
|
||||||
Say Y or M here to include Creative CA0110-IBG codec support in
|
Say Y or M here to include Creative CA0110-IBG codec support in
|
||||||
snd-hda-intel driver, found on some Creative X-Fi cards.
|
snd-hda-intel driver, found on some Creative X-Fi cards.
|
||||||
|
|
||||||
|
comment "Set to Y if you want auto-loading the codec driver"
|
||||||
|
depends on SND_HDA_INTEL=y && SND_HDA_CODEC_CA0110=m
|
||||||
|
|
||||||
config SND_HDA_CODEC_CA0132
|
config SND_HDA_CODEC_CA0132
|
||||||
tristate "Build Creative CA0132 codec support"
|
tristate "Build Creative CA0132 codec support"
|
||||||
help
|
help
|
||||||
Say Y or M here to include Creative CA0132 codec support in
|
Say Y or M here to include Creative CA0132 codec support in
|
||||||
snd-hda-intel driver.
|
snd-hda-intel driver.
|
||||||
|
|
||||||
|
comment "Set to Y if you want auto-loading the codec driver"
|
||||||
|
depends on SND_HDA_INTEL=y && SND_HDA_CODEC_CA0132=m
|
||||||
|
|
||||||
config SND_HDA_CODEC_CA0132_DSP
|
config SND_HDA_CODEC_CA0132_DSP
|
||||||
bool "Support new DSP code for CA0132 codec"
|
bool "Support new DSP code for CA0132 codec"
|
||||||
depends on SND_HDA_CODEC_CA0132
|
depends on SND_HDA_CODEC_CA0132
|
||||||
|
@ -172,18 +199,27 @@ config SND_HDA_CODEC_CMEDIA
|
||||||
Say Y or M here to include C-Media HD-audio codec support in
|
Say Y or M here to include C-Media HD-audio codec support in
|
||||||
snd-hda-intel driver, such as CMI9880.
|
snd-hda-intel driver, such as CMI9880.
|
||||||
|
|
||||||
|
comment "Set to Y if you want auto-loading the codec driver"
|
||||||
|
depends on SND_HDA_INTEL=y && SND_HDA_CODEC_CMEDIA=m
|
||||||
|
|
||||||
config SND_HDA_CODEC_SI3054
|
config SND_HDA_CODEC_SI3054
|
||||||
tristate "Build Silicon Labs 3054 HD-modem codec support"
|
tristate "Build Silicon Labs 3054 HD-modem codec support"
|
||||||
help
|
help
|
||||||
Say Y or M here to include Silicon Labs 3054 HD-modem codec
|
Say Y or M here to include Silicon Labs 3054 HD-modem codec
|
||||||
(and compatibles) support in snd-hda-intel driver.
|
(and compatibles) support in snd-hda-intel driver.
|
||||||
|
|
||||||
|
comment "Set to Y if you want auto-loading the codec driver"
|
||||||
|
depends on SND_HDA_INTEL=y && SND_HDA_CODEC_SI3054=m
|
||||||
|
|
||||||
config SND_HDA_GENERIC
|
config SND_HDA_GENERIC
|
||||||
tristate "Enable generic HD-audio codec parser"
|
tristate "Enable generic HD-audio codec parser"
|
||||||
help
|
help
|
||||||
Say Y or M here to enable the generic HD-audio codec parser
|
Say Y or M here to enable the generic HD-audio codec parser
|
||||||
in snd-hda-intel driver.
|
in snd-hda-intel driver.
|
||||||
|
|
||||||
|
comment "Set to Y if you want auto-loading the codec driver"
|
||||||
|
depends on SND_HDA_INTEL=y && SND_HDA_GENERIC=m
|
||||||
|
|
||||||
config SND_HDA_POWER_SAVE_DEFAULT
|
config SND_HDA_POWER_SAVE_DEFAULT
|
||||||
int "Default time-out for HD-audio power-save mode"
|
int "Default time-out for HD-audio power-save mode"
|
||||||
depends on PM
|
depends on PM
|
||||||
|
|
Loading…
Reference in New Issue