diff mbox series

ALSA: hda/tegra: Disable sync-write operation

Message ID 20200714160841.2293-1-jonathanh@nvidia.com
State Deferred
Headers show
Series ALSA: hda/tegra: Disable sync-write operation | expand

Commit Message

Jon Hunter July 14, 2020, 4:08 p.m. UTC
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.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
---
 sound/pci/hda/hda_tegra.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Takashi Iwai July 14, 2020, 4:13 p.m. UTC | #1
On Tue, 14 Jul 2020 18:08:41 +0200,
Jon Hunter wrote:
> 
> 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.
> 
> Signed-off-by: Jon Hunter <jonathanh@nvidia.com>

Applied now.  Thanks.


Takashi
diff mbox series

Patch

diff --git a/sound/pci/hda/hda_tegra.c b/sound/pci/hda/hda_tegra.c
index 0cc5fad1af8a..5637f0129932 100644
--- a/sound/pci/hda/hda_tegra.c
+++ b/sound/pci/hda/hda_tegra.c
@@ -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;