From: Lars-Peter Clausen Date: Tue, 27 Aug 2013 13:51:01 +0000 (+0200) Subject: ASoC: Pass card instead of dapm context to snd_soc_dapm_new_widgets() X-Git-Tag: v3.12-rc1~150^2~3^2~7^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=824ef826f3c4d83d1925a5e351313bfd3e5ca6cb;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed