diff options
author | Liam Girdwood <lrg@ti.com> | 2011-12-02 09:59:54 +0800 |
---|---|---|
committer | Sebastien Jan <s-jan@ti.com> | 2011-12-05 11:20:29 +0100 |
commit | 641edcc7fe8b1c8ffedd9b54894199f6119d0368 (patch) | |
tree | 933fe14c6890e296a17a783e37a0521cae75cec9 /sound | |
parent | 03417138217417b89d2e38753aa2aa88859d2edf (diff) |
ASoC: DAPM - tmp workaround for deadlock report.
TODO: fix this
Signed-off-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/soc-dapm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 4a54739eac3a..9bdc014b326c 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c @@ -3028,9 +3028,9 @@ int snd_soc_dapm_stream_event(struct snd_soc_pcm_runtime *rtd, if (codec_dai->driver->num_widgets || cpu_dai->driver->num_widgets) soc_dapm_stream_widget_event(rtd, event); else { - mutex_lock(&codec->mutex); + //mutex_lock(&codec->mutex); soc_dapm_stream_event(&codec->dapm, stream, event); - mutex_unlock(&codec->mutex); + //mutex_unlock(&codec->mutex); soc_dapm_stream_event(&platform->dapm, stream, event); soc_dapm_stream_event(&rtd->card->dapm, stream, event); } |