ASoC: Get the card directly from the DAPM context
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 2 Mar 2011 18:17:32 +0000 (18:17 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 3 Mar 2011 11:14:55 +0000 (11:14 +0000)
commit12ea2c782e8bd98bcbf88165b2fd1610d1b9a81d
tree59dcbe07bcbee7438bcb5973dc189eb5099c34b1
parent1916a2aae52b8cb8f992599204ce06c0accd08e2
ASoC: Get the card directly from the DAPM context

Rather than indirecting through the CODEC we can look the card up directly
from the card pointer in the DAPM context.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/soc-dapm.c