OSDN Git Service

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)
commit9cdae4352cba3f66d39a4ef78bb726940ae1e513
tree615e9c3d1ca0001017c9c2b583400a3769de96b7
parent7c33b5f16915a7bc3d3b81a9a041bdc562f71dfb
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