From: Jon Hunter Date: Tue, 14 Jul 2020 16:08:41 +0000 (+0100) Subject: ALSA: hda/tegra: Disable sync-write operation X-Git-Tag: v5.10.7~1331^2~83^2~18 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ee85a360482bc72455662c425bfa0e94c1dbb847;p=platform%2Fkernel%2Flinux-rpi.git 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 Link: https://lore.kernel.org/r/20200714160841.2293-1-jonathanh@nvidia.com Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/hda/hda_tegra.c b/sound/pci/hda/hda_tegra.c index 0cc5fad..5637f01 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;