summaryrefslogtreecommitdiff
path: root/sound/pci/hda/hda_tegra.c
diff options
context:
space:
mode:
authorJon Hunter <jonathanh@nvidia.com>2020-07-14 19:08:41 +0300
committerTakashi Iwai <tiwai@suse.de>2020-07-14 19:13:20 +0300
commitee85a360482bc72455662c425bfa0e94c1dbb847 (patch)
tree4ce8e830c62dbb7b3b75c08c46261d27f5b100b7 /sound/pci/hda/hda_tegra.c
parentb91c9cb9d4b378fda65c3196034ecd09ee1493ef (diff)
downloadlinux-ee85a360482bc72455662c425bfa0e94c1dbb847.tar.xz
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. Fixes: f34a4c9dd4ca ("ALSA: hda: Enable sync-write operation as default for all controllers") Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Link: https://lore.kernel.org/r/20200714160841.2293-1-jonathanh@nvidia.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_tegra.c')
-rw-r--r--sound/pci/hda/hda_tegra.c1
1 files changed, 1 insertions, 0 deletions
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;