From: Stephen Warren Date: Tue, 19 Apr 2011 21:25:10 +0000 (-0600) Subject: ASoC: Tegra: Retrieve card from DAPM context not codec X-Git-Tag: v3.0-rc1~347^2~1^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a32955dba2e2629bddacf7c1b9de3bf1b7c56acf;p=pandora-kernel.git ASoC: Tegra: Retrieve card from DAPM context not codec Card widgets are created in the card's DAPM context, not any codec's DAPM context. Hence, w->codec==NULL. Instead, find the card from the widget through the DAPM context of the widget, not the codec of the widget. Signed-off-by: Stephen Warren Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- Reading git-diff-tree failed