ASoC: soc-pcm: Drop the redundant snd_soc_dai_digital_mute() in soc_pcm_close()
authorNicolin Chen <b42378@freescale.com>
Wed, 4 Dec 2013 03:18:37 +0000 (11:18 +0800)
committerMark Brown <broonie@linaro.org>
Wed, 4 Dec 2013 11:45:29 +0000 (11:45 +0000)
commit0b4bbae85e046042af76a65920db4bb5509c97bd
treecbba5a64c91e07258706094faf8c7a2f4aa50157
parent4d9127faa864e7068d7e06527dfdf099ad06f64a
ASoC: soc-pcm: Drop the redundant snd_soc_dai_digital_mute() in soc_pcm_close()

This patch removed the redundant snd_soc_dai_digital_mute() in close() since
it's better to mute in hw_free() which's slightly earlier and symmetrical for
the case of reconfiguration: 'aplay 44k1.wav 48k.wav', for example, will be
open()->hw_params()->prepare(unmute)->playi1ng->hw_free(mute)->hw_params()->
parepare(unmute)->playing->hw_free(mute)->close()

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