| From 4e7010826e96702d7fad13dbe85de4e94052f833 Mon Sep 17 00:00:00 2001 |
| From: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> |
| Date: Fri, 9 May 2025 11:13:08 +0300 |
| Subject: ASoC: SOF: Intel: hda-bus: Use PIO mode on ACE2+ platforms |
| |
| From: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> |
| |
| commit 4e7010826e96702d7fad13dbe85de4e94052f833 upstream. |
| |
| Keep using the PIO mode for commands on ACE2+ platforms, similarly how |
| the legacy stack is configured. |
| |
| Fixes: 05cf17f1bf6d ("ASoC: SOF: Intel: hda-bus: Use PIO mode for Lunar Lake") |
| Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> |
| Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> |
| Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> |
| Cc: stable@vger.kernel.org |
| Link: https://patch.msgid.link/20250509081308.13784-1-peter.ujfalusi@linux.intel.com |
| Signed-off-by: Mark Brown <broonie@kernel.org> |
| Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| --- |
| sound/soc/sof/intel/hda-bus.c | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| --- a/sound/soc/sof/intel/hda-bus.c |
| +++ b/sound/soc/sof/intel/hda-bus.c |
| @@ -76,7 +76,7 @@ void sof_hda_bus_init(struct snd_sof_dev |
| |
| snd_hdac_ext_bus_init(bus, dev, &bus_core_ops, sof_hda_ext_ops); |
| |
| - if (chip && chip->hw_ip_version == SOF_INTEL_ACE_2_0) |
| + if (chip && chip->hw_ip_version >= SOF_INTEL_ACE_2_0) |
| bus->use_pio_for_commands = true; |
| #else |
| snd_hdac_ext_bus_init(bus, dev, NULL, NULL); |