]> 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)
commitdaa75a6d514b4c30330960750a76535fa3ae8c8d
tree615e9c3d1ca0001017c9c2b583400a3769de96b7
parent76c160ec0c093c9ff223da7afa36cfd825d95a94
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