ALSA: hda: move parts of NHLT code to new module
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Mon, 29 Jul 2019 15:51:48 +0000 (10:51 -0500)
committerTakashi Iwai <tiwai@suse.de>
Wed, 31 Jul 2019 13:45:59 +0000 (15:45 +0200)
commit303681f4356d322232dd5f6d9eb4bc62666064c5
tree3637866e16c7c3e35cf68c02a179ee7db9be9c12
parent63643b5902c4bf096b504b0563f5426ba5baef15
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>
include/sound/intel-nhlt.h
sound/hda/Kconfig
sound/hda/Makefile
sound/hda/intel-nhlt.c [new file with mode: 0644]