ASoC: amd: vg: apply sample bits pcm constraint
authorVijendar Mukunda <Vijendar.Mukunda@amd.com>
Wed, 23 Feb 2022 07:19:34 +0000 (12:49 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 24 Feb 2022 02:04:29 +0000 (02:04 +0000)
commit0c38cc1dd17e766eada0aa44be4c1a47bcbb7bc3
tree29c57baa80e66d0cc490e51d405008d176a13957
parent9a617f0e109cfba2017d76f807ebb3a00c47bdca
ASoC: amd: vg: apply sample bits pcm constraint

ACP I2S controller has limitation to program different BCLK
for TX and RX paths.
Headset path uses I2S SP controller instance.
As per requirement, Restricted 32 bits as sample bits by
applying pcm constraint in startup calabck for Headset path.

Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://lore.kernel.org/r/20220223071959.13539-5-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/vangogh/acp5x-mach.c