From: Lars-Peter Clausen Date: Sat, 8 Mar 2014 14:47:22 +0000 (+0100) Subject: ASoC: sam9g20_wm8731: Convert to table based DAPM setup X-Git-Tag: v3.15-rc1~36^2~1^2~5^2~7^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0ffe9b1ab8705eeffa72feacd791ab6fdd2a06c;p=pandora-kernel.git ASoC: sam9g20_wm8731: Convert to table based DAPM setup Use table based setup to register the DAPM widgets and routes. This on one hand makes the code a bit shorter and cleaner and on the other hand the board level DAPM elements get registered in the card's DAPM context rather than in the CODEC's DAPM context. While we are at it also remove the snd_soc_dapm_enable_pin() in the init callback. Pins are enabled by default. Signed-off-by: Lars-Peter Clausen Tested-by: Bo Shen Acked-by: Bo Shen Signed-off-by: Mark Brown --- Reading git-diff-tree failed