diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2016-03-03 21:36:34 -0600 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-03-05 13:05:18 +0900 |
commit | cab473850226c3e41823453b5b80eb294dae6e0c (patch) | |
tree | eed18c107d473ac095a70fc1ddb365156598cb14 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | fdd69c57370dbd9f81072b14aaeb90d80ab0b2f9 (diff) |
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 6f08cbdaac5a
("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>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions