]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ASoC: SOF: Intel: hda-bus: Use PIO mode on ACE2+ platforms
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Fri, 9 May 2025 08:13:08 +0000 (11:13 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 9 May 2025 09:20:14 +0000 (18:20 +0900)
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>
sound/soc/sof/intel/hda-bus.c

index b1be03011d7e1592396d0db4a127da647e2bcdb1..6492e1cefbfb607a0105c6c6a05c0b6944a0595f 100644 (file)
@@ -76,7 +76,7 @@ void sof_hda_bus_init(struct snd_sof_dev *sdev, struct device *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);