ASoC: Pass card instead of dapm context to snd_soc_dapm_new_widgets()
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 27 Aug 2013 13:51:01 +0000 (15:51 +0200)
committerMark Brown <broonie@linaro.org>
Tue, 27 Aug 2013 14:41:16 +0000 (15:41 +0100)
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>

No differences found