ASoC: SOF: Intel: hda-bus: Use PIO mode for Lunar Lake

It is recommended that on Lunar Lake the PIO (immediate command response)
is used instead of CORB/RIRB for commands/verbs.

Signed-off-by: Peter Ujfalusi <[email protected]>
Reviewed-by: Pierre-Louis Bossart <[email protected]>
Reviewed-by: Bard Liao <[email protected]>
Reviewed-by: Liam Girdwood <[email protected]>
Acked-by: Mark Brown <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Message-ID: <[email protected]>
This commit is contained in:
Peter Ujfalusi
2024-04-18 08:38:54 +02:00
committed by Takashi Iwai
parent f20bee3898
commit 05cf17f1bf
+5
View File
@@ -72,7 +72,12 @@ void sof_hda_bus_init(struct snd_sof_dev *sdev, struct device *dev)
#if IS_ENABLED(CONFIG_SND_SOC_SOF_HDA_LINK)
#if IS_ENABLED(CONFIG_SND_SOC_SOF_HDA_AUDIO_CODEC)
const struct sof_intel_dsp_desc *chip = get_chip_info(sdev->pdata);
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)
bus->use_pio_for_commands = true;
#else
snd_hdac_ext_bus_init(bus, dev, NULL, NULL);
#endif