Skip to contentSkip to conversation

ALSA: hda/tegra: Disable sync-write operation

PATCH In review Jon Hunter 2 participants 2 messages Jul 14, 2020

Subsystems (2)
lore
Share & tools
lore

Jon Hunter

author maintainer
#0 lore raw

PATCH 1/1 ALSA: hda/tegra: Disable sync-write operation

Commit f34a4c9dd4ca ("ALSA: hda: Enable sync-write operation as default for all controllers") enabled sync-write for all controllers and this is causing audio playback on the Tegra186 HDA device to fail. For now, disable sync-write support for Tegra to fix this.

---
 sound/pci/hda/hda_tegra.c | 1 +
 1 file changed, 1 insertion(+)
sound/pci/hda/hda_tegra.c +1 -0
index 0cc5fad1af8a..5637f0129932 100644
@@ -443,6 +443,7 @@ static int hda_tegra_create(struct snd_card *card,
 	if (err < 0)
 		return err;
 
+	chip->bus.core.sync_write = 0;
 	chip->bus.core.needs_damn_long_delay = 1;
 	chip->bus.core.aligned_mmio = 1;
 
Signature · 1 line
2.17.1
#1 lore raw
Quoted 7 lines · Jon Hunter

Commit f34a4c9dd4ca ("ALSA: hda: Enable sync-write operation as default for all controllers") enabled sync-write for all controllers and this is causing audio playback on the Tegra186 HDA device to fail. For now, disable sync-write support for Tegra to fix this.

Applied now. Thanks.

Takashi