ASoC: Fix disable of SPDIF on STAC9766 codec
authorJon Smirl <jonsmirl@gmail.com>
Wed, 16 Dec 2009 01:53:44 +0000 (20:53 -0500)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 16 Dec 2009 15:56:57 +0000 (15:56 +0000)
commit75b46c1321785c29cfbc4f839b6dc031428734ad
tree0d912966838c1a24abc407be0e1a9979444ec7d8
parent1cf86f6f9b000e98c1b7f866f99633ae67464e2f
ASoC: Fix disable of SPDIF on STAC9766 codec

Change code so that switching to playing music through the analog output
disables SPDIF out instead of disabling it when stream ends.

Signed-off-by: Jon Smirl <jonsmirl@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/stac9766.c