ASoC: amd: ps: use acp_lock to protect common registers in pdm driver
authorVijendar Mukunda <Vijendar.Mukunda@amd.com>
Wed, 4 Jan 2023 05:54:30 +0000 (11:24 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 5 Jan 2023 11:15:33 +0000 (11:15 +0000)
commit45aa83cb93885d406c178498623b01cf128ca233
tree0b8fb85929ede4c0f0e9a74bf30ff5482e15e7a6
parentf763fb2fc93065d33f17fe9c5adeac8dec7713dc
ASoC: amd: ps: use acp_lock to protect common registers in pdm driver

Retrieve acp_lock mutex as platform data and use it for protecting
ACP common registers access in acp pdm driver.

Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://lore.kernel.org/r/20230104055435.321327-2-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/ps/acp63.h
sound/soc/amd/ps/ps-pdm-dma.c