]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: Skylake: use HDAudio if ACPI enumeration fails
authorRakesh Ughreja <rakesh.a.ughreja@intel.com>
Wed, 22 Aug 2018 20:25:00 +0000 (15:25 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 28 Aug 2018 19:18:09 +0000 (20:18 +0100)
commitc1d6d060643bfd26e59d5f652e698725971fcf79
tree615e9c3d1ca0001017c9c2b583400a3769de96b7
parent01a6ed743d920248d05039cdc4ca75ed799f4ccb
ASoC: Intel: Skylake: use HDAudio if ACPI enumeration fails

When no I2S based codec entries are found in the BIOS, check if there are
any HDA codecs detected on the bus. Based on the number of codecs found
take appropriate action in machine driver. If there are two HDA codecs
i.e. iDisp + HDA found on the bus, register DAIs and DAI links for both.
If only one codec i.e. iDisp is found then load only iDisp machine driver.

Signed-off-by: Rakesh Ughreja <rakesh.a.ughreja@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl.c