linux/sound/soc/intel
Pierre-Louis Bossart 1fdb7c14a2 ASoC: Intel: common: add translation from HID to codec-name
BIOS vendors sometimes declare multiple devices in the DSDT
table that all refer to the same HID. This is not very smart
but not illegal as long as only one device reports present with
the _STA method. The ACPI subsystem tracks each device with an
extension, e.g. 10EC5640:00 and 10EC5640:01

In the ASoC machine driver, the DAI codec name needs to refer to the
ACPI device that reported present, e.g. "i2c-10EC5640:01". The
extension will vary depending on how the BIOS is written and which
ACPI device is activated.

This patch adds a translation function that provides the codec
name from the ACPI HID to avoid any hard-coded values in the
machine driver.

Suggested-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2016-03-05 13:05:18 +09:00
..
atom ASoC: intel: remove unused variable 2016-03-01 11:47:50 +09:00
baytrail ASoC: Intel: add NULL test 2015-12-23 00:02:17 +00:00
boards ASoC: Intel: Skylake: remove IVI codec loop in skl_nau88l25_ssm4567 machine 2016-03-02 12:54:23 +09:00
common ASoC: Intel: common: add translation from HID to codec-name 2016-03-05 13:05:18 +09:00
haswell ASoC: Intel: sst: fix the IRQ locked issue 2015-12-14 14:05:32 +00:00
skylake ASoC: Intel: Skylake: correct direction in blob query 2016-03-02 12:54:23 +09:00
Kconfig ASoC: Intel: boards: Enable HDMI and DP on SKL nau88l25_max98357 machine 2016-02-24 17:29:47 +09:00
Makefile ASoC: Intel: Add makefile support for SKL driver 2015-07-09 11:54:26 +01:00