]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ASoC: move ACPI common code out of Intel/sst tree
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 12 Oct 2017 23:49:38 +0000 (18:49 -0500)
committerMark Brown <broonie@kernel.org>
Sat, 21 Oct 2017 10:21:09 +0000 (11:21 +0100)
commit7feb2f786a46d34cac760d5e246dfbdafafa0e96
tree7d831a7cc496461853d29b0b7a1e5b5130dc276c
parent39712db878a499542651eb6c2f5ceec4eacc72d1
ASoC: move ACPI common code out of Intel/sst tree

ACPI support is not specific to the Intel/SST driver. Move the enumeration
and matching code which is not hardware-dependent to sound/soc and rename
relevant sst_acpi_ structures and functions with snd_soc_acpi_ prefix

soc-acpi.h is protected by a #ifndef __LINUX_SND_SOC_ACPI_H for
consistency with all other SoC .h files:

grep -L __LINUX include/sound/soc* | wc -l
0
grep __LINUX include/sound/soc* | wc -l
14

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
17 files changed:
include/sound/soc-acpi.h [new file with mode: 0644]
sound/soc/Kconfig
sound/soc/Makefile
sound/soc/intel/Kconfig
sound/soc/intel/atom/sst/sst_acpi.c
sound/soc/intel/boards/bytcht_da7213.c
sound/soc/intel/boards/bytcht_es8316.c
sound/soc/intel/boards/bytcr_rt5640.c
sound/soc/intel/boards/bytcr_rt5651.c
sound/soc/intel/boards/cht_bsw_rt5645.c
sound/soc/intel/boards/cht_bsw_rt5672.c
sound/soc/intel/common/Makefile
sound/soc/intel/common/sst-acpi.c
sound/soc/intel/common/sst-acpi.h [deleted file]
sound/soc/intel/common/sst-match-acpi.c [deleted file]
sound/soc/intel/skylake/skl.c
sound/soc/soc-acpi.c [new file with mode: 0644]