ASoC: soc-pcm: Use valid condition for snd_soc_dai_digital_mute() in hw_free()
authorNicolin Chen <b42378@freescale.com>
Wed, 4 Dec 2013 03:18:36 +0000 (11:18 +0800)
committerMark Brown <broonie@linaro.org>
Wed, 4 Dec 2013 11:46:40 +0000 (11:46 +0000)
commit7f62b6ee767586ee7e5d12787dbaaaf47a91979a
tree055283483fcd0017497c9e9caa68fdbe3afd07c4
parentebff65473f56e6c30de928fd6a4f1ce5ae36e8c5
ASoC: soc-pcm: Use valid condition for snd_soc_dai_digital_mute() in hw_free()

The snd_soc_dai_digital_mute() here will be never executed because we only
decrease codec->active in snd_soc_close(). Thus correct it.

Signed-off-by: Nicolin Chen <b42378@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/soc-pcm.c