commit | a32955dba2e2629bddacf7c1b9de3bf1b7c56acf | [log] [tgz] |
---|---|---|
author | Stephen Warren <swarren@nvidia.com> | Tue Apr 19 15:25:10 2011 -0600 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Wed Apr 20 13:50:01 2011 +0100 |
tree | b5813978cdff2aa4c1418c78ee078b40ed553694 | |
parent | 075413966a6ea389f78f4cc2e957708c1d6db8c5 [diff] |
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 <swarren@nvidia.com> Acked-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>