OSDN Git Service

ASoC: amd: Buffer Size instead of MAX Buffer
authorRavulapati Vishnu vardhan rao <Vishnuvardhanrao.Ravulapati@amd.com>
Tue, 11 Feb 2020 13:12:28 +0000 (18:42 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 12 Feb 2020 18:13:05 +0000 (18:13 +0000)
commit1880b1f1d686b17387b5bf45654eb1d087ead918
tree6c055c4a10c50f10eecb39d590f87068a1ce8fde
parentaf7aae1b1f6306a1cda4da393e920a1334eaa3d4
ASoC: amd: Buffer Size instead of MAX Buffer

Because of MAX BUFFER size in register,when user/app give small
buffer size produces noise of old data in buffer.
This patch rectifies this noise when using different
buffer sizes less than MAX BUFFER.

Signed-off-by: Ravulapati Vishnu vardhan rao <Vishnuvardhanrao.Ravulapati@amd.com>
Link: https://lore.kernel.org/r/1581426768-8937-1-git-send-email-Vishnuvardhanrao.Ravulapati@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/raven/acp3x-i2s.c
sound/soc/amd/raven/acp3x-pcm-dma.c