summaryrefslogtreecommitdiff
path: root/sound/hda/Kconfig
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2019-07-29 10:51:48 -0500
committerTakashi Iwai <tiwai@suse.de>2019-07-31 15:45:59 +0200
commit303681f4356d322232dd5f6d9eb4bc62666064c5 (patch)
tree3637866e16c7c3e35cf68c02a179ee7db9be9c12 /sound/hda/Kconfig
parent63643b5902c4bf096b504b0563f5426ba5baef15 (diff)
ALSA: hda: move parts of NHLT code to new module
Move parts of the code outside of the Skylake driver to help detect the presence of DMICs (which are not supported by the HDaudio legacy driver). No functionality change (except for the removal of useless OR operations), only indentation and checkpatch fixes, making sure that the code compiles without ACPI and fixing an ACPI leak Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/hda/Kconfig')
-rw-r--r--sound/hda/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/hda/Kconfig b/sound/hda/Kconfig
index f6feced15f17..9ccbcb5a06bd 100644
--- a/sound/hda/Kconfig
+++ b/sound/hda/Kconfig
@@ -29,3 +29,8 @@ config SND_HDA_PREALLOC_SIZE
Note that the pre-allocation size can be changed dynamically
via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too.
+
+config SND_INTEL_NHLT
+ tristate
+ # this config should be selected only for Intel ACPI platforms.
+ # A fallback is provided so that the code compiles in all cases. \ No newline at end of file