ASoC: tlv320dac33: Manage a pointer for snd_pcm_substream in private structure
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>
Fri, 30 Apr 2010 11:59:35 +0000 (14:59 +0300)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Mon, 3 May 2010 11:55:48 +0000 (12:55 +0100)
commit0b61d2b9f2f78fc55faaedcc37f622ffd4103d14
treee9644b438dc3907cd90f978c2bc2c110f2ab0c6f
parent239fe55c7fe17d67403cb1e9222fcaea84248974
ASoC: tlv320dac33: Manage a pointer for snd_pcm_substream in private structure

As a preparation for supporting codec to be turned off,
when we are in BIAS_STANDBY.

The substream must be easily available in other places than
pcm_* callbacks.

Manage a pointer in _startup, and _shutdown for this.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/codecs/tlv320dac33.c