diff options
author | Margarita Olaya Cabrera <magi.olaya@ti.com> | 2010-06-16 11:16:54 -0500 |
---|---|---|
committer | Jorge Eduardo Candelaria <jorge.candelaria@ti.com> | 2010-06-18 11:37:30 -0500 |
commit | 5df45714598cef246bc286367f117b5249c6609f (patch) | |
tree | 155d1f3a8587c1c810dff25457c1a0c73541c092 /sound | |
parent | 50067097cc516b938881cc5de95c4b4cd596d259 (diff) |
ASoC: Remove codec active flag
Remove the verification done in hw_free function,
codec will do the verification to not mute the
dai while other stream is still open.
Signed-off-by: Margarita Olaya Cabrera <magi.olaya@ti.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/soc-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index c6963d47d710..9cf39cecfb3e 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -751,8 +751,8 @@ static int soc_pcm_hw_free(struct snd_pcm_substream *substream) mutex_lock(&pcm_mutex); /* apply codec digital mute */ - if (!codec->active) - snd_soc_dai_digital_mute(codec_dai, 1); + /* Codec to take of no active stream */ + snd_soc_dai_digital_mute(codec_dai, 1); /* free any machine hw params */ if (machine->ops && machine->ops->hw_free) |