From 88ba7e31db7cee325727fc5ab20000ed20320da5 Mon Sep 17 00:00:00 2001 From: Gopikrishnaiah Anandan Date: Thu, 1 May 2014 14:21:04 -0700 Subject: [PATCH] ASoC: dapm: Change mutex lock subclass in dapm Address the compilation issue by changing the subclass enum in dapm functions. Change-Id: Icd31748b1beb7328819de7f8e4a32c128f60c43f CRs-fixed: 656634 Signed-off-by: Gopikrishnaiah Anandan --- sound/soc/soc-dapm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 56efb972241..a6188782644 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c @@ -3101,7 +3101,7 @@ void snd_soc_dapm_rtd_stream_event(struct snd_soc_pcm_runtime *rtd, dev_dbg(rtd->dev, "rtd stream %d event %d\n", stream, event); - mutex_lock_nested(&card->dapm_mutex, SND_SOC_DAPM_CLASS_RUNTIME); + mutex_lock_nested(&card->dapm_mutex, SND_SOC_DAPM_CLASS_PCM); if (stream == SNDRV_PCM_STREAM_PLAYBACK) { widget_stream_event(pdapm, rtd->cpu_dai->playback_aif, event); widget_stream_event(cdapm, rtd->codec_dai->playback_aif, event);