diff options
| author | Heinrich Schuchardt <[email protected]> | 2025-10-31 22:07:00 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-11-07 15:34:22 -0600 |
| commit | 45860d882f3c32ccb091820d16f02d4aaac4c35c (patch) | |
| tree | 79b92d61de4d53d4648833f4d3b2dfe8d01a2174 /drivers/sound | |
| parent | 7f11be48db6a328faf59bf5f7653f469208ad03b (diff) | |
sound: all sound devices must depend on CONFIG_SOUND
Clean up the sound Kconfig options to let all sound devices depend on
CONFIG_SOUND.
Before this patch it was possible to select CONFIG_SOUND_MAX98357A even
with CONFIG_SOUND=n.
Signed-off-by: Heinrich Schuchardt <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'drivers/sound')
| -rw-r--r-- | drivers/sound/Kconfig | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/sound/Kconfig b/drivers/sound/Kconfig index 81de9b30f39..afcc08c27bc 100644 --- a/drivers/sound/Kconfig +++ b/drivers/sound/Kconfig @@ -12,9 +12,10 @@ config SOUND audio codecs are called from the sound-i2s code. This could be converted to driver model. +if SOUND + config I2S bool "Enable I2S support" - depends on SOUND help I2S is a serial bus often used to transmit audio data from the SoC to the audio codec. This option enables sound support using @@ -42,7 +43,6 @@ config I2S_SAMSUNG config SOUND_DA7219 bool "Dialog Semiconductor audio codec" - depends on SOUND help The DA7219 is an ultra-low-power audio codec with Advanced Accessory Detection (AAD). This driver only supports generation of ACPI tables. @@ -51,7 +51,7 @@ config SOUND_DA7219 config SOUND_I8254 bool "Intel i8254 timer / beeper" - depends on SOUND && X86 + depends on X86 help This enables support for a beeper that uses the i8254 timer chip. This can emit beeps at a fixed frequency. It is possible to control @@ -63,7 +63,6 @@ config SOUND_I8254 config SOUND_INTEL_HDA bool "Intel HDA audio codec" - depends on SOUND help Most Intel chips have an HDA (High-definition audio) codec which can be used by U-Boot to play simple beeps. This is also sometimes called @@ -72,7 +71,6 @@ config SOUND_INTEL_HDA config SOUND_IVYBRIDGE bool "Intel Ivybridge sound support" - depends on SOUND select SOUND_INTEL_HDA help Enable sound output on supported Intel Ivybridge-based boards. This @@ -148,4 +146,6 @@ config SOUND_WM8994 audio data and I2C for codec control. At present it only works with the Samsung I2S driver. +endif + endmenu |
