mirror of
https://github.com/torvalds/linux.git
synced 2025-11-04 18:49:34 +02:00
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> |
||
|---|---|---|
| .. | ||
| Makefile | ||
| sst.c | ||
| sst.h | ||
| sst_acpi.c | ||
| sst_drv_interface.c | ||
| sst_ipc.c | ||
| sst_loader.c | ||
| sst_pci.c | ||
| sst_pvt.c | ||
| sst_stream.c | ||