linux_dsm_epyc7002/sound/soc/intel/atom
Stephan Gerhold fee1571455
ASoC: Intel: sst: Fallback to BYT-CR if IRQ 5 is missing
Some devices detected as BYT-T by the PMIC-type based detection
have only a single IRQ listed in the 80860F28 ACPI device. This
causes -ENXIO later when attempting to get the IRQ at index 5.
It turns out these devices behave more like BYT-CR devices,
and using the IRQ at index 0 makes sound work correctly.

This patch adds a fallback for these devices to is_byt_cr():
If there is no IRQ resource at index 5, treating the device
as BYT-T is guaranteed to fail later, so we can safely treat
these devices as BYT-CR without breaking any working device.

Link: http://mailman.alsa-project.org/pipermail/alsa-devel/2018-December/143176.html
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2019-01-04 15:15:55 +00:00
..
sst ASoC: Intel: sst: Fallback to BYT-CR if IRQ 5 is missing 2019-01-04 15:15:55 +00:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
sst-atom-controls.c ASoC: Intel: Atom: simplify boolean tests 2019-01-03 16:34:12 +00:00
sst-atom-controls.h ASoC: Intel: Atom: add definitions for modem/SSP0 interface 2016-08-15 15:14:57 +01:00
sst-mfld-dsp.h ASoC: Intel: create atom folder and move atom platform files in 2015-04-06 17:49:45 +01:00
sst-mfld-platform-compress.c ASoC: intel: atom: replace platform to component 2018-02-12 11:45:09 +00:00
sst-mfld-platform-pcm.c ASoC: Intel: Atom: simplify boolean tests 2019-01-03 16:34:12 +00:00
sst-mfld-platform.h ASoC: intel: atom: replace platform to component 2018-02-12 11:45:09 +00:00