ASoC: Add a shutdown callback
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 22 Jun 2009 12:16:51 +0000 (13:16 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 23 Jun 2009 22:48:53 +0000 (23:48 +0100)
commit517374704da44c1ba77c1600714fe214524af286
tree878a914bb5bd383e5f883bffc2e5cbf884366a6e
parent30808ca751c3b8d81e948efb8fed7451a8321010
ASoC: Add a shutdown callback

Ensure that the audio subsystem is powered down cleanly when the system
shuts down by providing a shutdown operation. This ensures that all the
components have been returned to an off state cleanly which should avoid
audio issues from partially charged capacitors or noise on digital inputs
if the system is restarted quickly.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Tested-by: Ben Dooks <ben-linux@fluff.org>
include/sound/soc-dapm.h
sound/soc/soc-core.c
sound/soc/soc-dapm.c