commit | 824ef826f3c4d83d1925a5e351313bfd3e5ca6cb | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Tue Aug 27 15:51:01 2013 +0200 |
committer | Mark Brown <broonie@linaro.org> | Tue Aug 27 15:41:16 2013 +0100 |
tree | 824345b44ec48d739722873e737efee21636ece8 | |
parent | 38f7d75edcf8ced03d03131005ed806bee746699 [diff] |
ASoC: Pass card instead of dapm context to snd_soc_dapm_new_widgets() snd_soc_dapm_new_widgets() works on the ASoC card as a whole not on a specific DAPM context. The DAPM context that is passed as the parameter is only used to look up the pointer to the card. This patch updates the signature of snd_soc_dapm_new_widgets() to take the card directly. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>