Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a127e19b authored by Trilok Soni's avatar Trilok Soni
Browse files

sound: dapm: Fix compilation error when PROVE_LOCKING is enabled



If the PROVE_LOCKING is enabled then we are getting the compilation
error with SND_SOC_DAPM_CLASS_PCM as undefined. It seems that
the change "3cd04343 - ASoC: dapm: Rename dapm mutex subclass
to better match usage" had renamed this enum to SND_SOC_DAPM_CLASS_RUNTIME
but later the change "dc4479fb - ASoC: dapm: fix race condition in dapm"
didn't follow that name and we didn't get any compilation error
since PROVE_LOCKING feature is not enabled and in the absence of this
feature the 2nd parameter of the mutex_lock_nested "subclass" doesn't
take effect since it becomes macro. Fix this compilation error
by using the right macro name.

Change-Id: I17eb67cb611c00f88986e086bb1b8508d2929af6
Signed-off-by: default avatarTrilok Soni <tsoni@codeaurora.org>
parent 3c7ef256
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment