linux-sg2042/sound/soc/intel/common
Pierre-Louis Bossart cab4738502 ASoC: Intel: common: filter ACPI devices with _STA return value
BIOS vendors typically list multiple audio codecs in the DSDT
table and enable the relevant one by changing the return value
of the _STA method.

With the current code, all devices are reported by
acpi_dev_present(), regardless of the _STA return values. This
causes errors on probe with the wrong machine driver being loaded.

This patch essentially reverts 'commit 6f08cbdaac
("ASoC: Intel: Use acpi_dev_present()")' and adds code to
force the evaluation of the _STA method.

A better solution might be to make sure the ACPI subsystem only
reports devices with a _STA value of 0xf but apparently it's
problematic so dealing with this in the audio subsystem directly.

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
..
Makefile ASoC: Intel: fix ACPI probe regression with Atom DPCM driver 2016-01-05 12:43:54 +00:00
sst-acpi.c ASoC: Intel: Atom: move atom driver to common acpi match 2015-11-16 10:08:09 +00:00
sst-acpi.h ASoC: Intel: Atom: move atom driver to common acpi match 2015-11-16 10:08:09 +00:00
sst-dsp-priv.h ASoC: Intel: constify sst_block_ops structures 2015-11-16 17:38:54 +00:00
sst-dsp.c ASoC: Intel: sst: only select sst-firmware when DW DMAC is built-in 2015-11-25 11:57:05 +00:00
sst-dsp.h ASoC: Intel: sst: only select sst-firmware when DW DMAC is built-in 2015-11-25 11:57:05 +00:00
sst-firmware.c ASoC: Intel: sst: fix sst_memcpy32 wrong with non-4x bytes issue 2015-12-16 12:28:04 +00:00
sst-ipc.c ASoC: Intel: Allocate for the mailbox with max size 2015-06-02 20:48:08 +01:00
sst-ipc.h ASoC: Intel: Allocate for the mailbox with max size 2015-06-02 20:48:08 +01:00
sst-match-acpi.c ASoC: Intel: common: filter ACPI devices with _STA return value 2016-03-05 13:05:18 +09:00