Revision b6b5c6426efe27cbd954409a50604d99c79bd42b authored by Vijendar Mukunda on 25 May 2023, 11:29:55 UTC, committed by Mark Brown on 30 May 2023, 12:43:27 UTC
Sending the mutex address(acp_lock) as platform
data during ACP PDM platform driver register sequence,
its creating copy of the platform data.
Referencing this platform data in ACP PDM driver results
incorrect reference to the common lock usage.

Instead of directly passing the lock address as platform
data, retrieve it from parent driver data structure
and use the same lock reference in ACP PDM driver.

Fixes: 45aa83cb9388 ("ASoC: amd: ps: use acp_lock to protect common registers in pdm driver")

Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://lore.kernel.org/r/20230525113000.1290758-1-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 8938f75
History
File Mode Size
Makefile -rw-r--r-- 361 bytes
compat.c -rw-r--r-- 2.2 KB
ipc_sysctl.c -rw-r--r-- 7.2 KB
mq_sysctl.c -rw-r--r-- 3.0 KB
mqueue.c -rw-r--r-- 43.7 KB
msg.c -rw-r--r-- 32.3 KB
msgutil.c -rw-r--r-- 3.6 KB
namespace.c -rw-r--r-- 5.8 KB
sem.c -rw-r--r-- 63.2 KB
shm.c -rw-r--r-- 45.0 KB
syscall.c -rw-r--r-- 5.1 KB
util.c -rw-r--r-- 24.2 KB
util.h -rw-r--r-- 8.8 KB

back to top