]> git.karo-electronics.de Git - linux-beck.git/commit
ASoC: Change how suspend and resume obtain the PCM runtime
authorjassi brar <jassisinghbrar@gmail.com>
Mon, 22 Feb 2010 06:59:02 +0000 (15:59 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 22 Feb 2010 14:15:15 +0000 (14:15 +0000)
commit10cab262f49ee4574a20ab4c445bc4fdc41c36a8
treeca7242796d35338845dbe1a3a0574129022f2ec5
parentd273ebe77a780d3aba1f5b86615af3b0e87b76bf
ASoC: Change how suspend and resume obtain the PCM runtime

Currently only the atmel driver make use of snd_soc_dai.runtime field.
If the dais are to be shared among two or more dai_links, the field
must be got rid of.
So, in atmel driver reach the substream via dai_link->pcm so as to
not depend of snd_soc_dai.runtime field.

Signed-off-by: Jassi Brar <jassi.brar@samsung.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/atmel/atmel-pcm.c