Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: tegra: Fix Master Volume Control

Commit 3ed2b549b39f ("ALSA: pcm: fix wait_time calculations") corrected
the PCM wait_time calculations and in doing so reduced the calculated
wait_time. This exposed an issue with the Tegra Master Volume Control
(MVC) device where the reduced wait_time caused the MVC to fail. For now
fix this by setting the default wait_time for Tegra to be 500ms.

Fixes: 3ed2b549b39f ("ALSA: pcm: fix wait_time calculations")
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://lore.kernel.org/r/20230613093453.13927-1-jonathanh@nvidia.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Jon Hunter and committed by
Mark Brown
f9fd804a ad249195

+3
+3
sound/soc/tegra/tegra_pcm.c
··· 117 117 return ret; 118 118 } 119 119 120 + /* Set wait time to 500ms by default */ 121 + substream->wait_time = 500; 122 + 120 123 return 0; 121 124 } 122 125 EXPORT_SYMBOL_GPL(tegra_pcm_open);