ASoC: Pass dai_link as argument to platform suspend and resume
authorjassi brar <jassisinghbrar@gmail.com>
Mon, 22 Feb 2010 06:58:04 +0000 (15:58 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 22 Feb 2010 14:14:58 +0000 (14:14 +0000)
commitd273ebe77a780d3aba1f5b86615af3b0e87b76bf
treefd863113cd506960992495659e13aa1c7a4ef315
parent6c5f1fed49f96a0600aa9a97ac3faf972c33a341
ASoC: Pass dai_link as argument to platform suspend and resume

Passing pointer to relevant dai_link provides easier reach to the
ASoC tree in suspend/resume of snd_soc_platform. It also provides
direct access to the dai at the other end of the dai_link.

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>
include/sound/soc.h
sound/soc/atmel/atmel-pcm.c
sound/soc/soc-core.c