]> git.baikalelectronics.ru Git - kernel.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)
commit105f863fd5b07c25f0263ad7b17a0a484bbde92d
treeca7242796d35338845dbe1a3a0574129022f2ec5
parent4184df6fca4028d330397629a59a7eef4c78f152
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