From: Janusz Krzysztofik Date: Wed, 3 Oct 2012 10:46:57 +0000 (+0200) Subject: ASoC: ams-delta: Convert to use snd_soc_register_card() X-Git-Tag: v3.7-rc2~30^2~1^2~9^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b764de2d8bafff3a52aa6ee66cedf435486974f4;p=pandora-kernel.git ASoC: ams-delta: Convert to use snd_soc_register_card() The old method of registering with the ASoC core by creating a "soc-audio" platform device no longer works for Amstrad Delta sound card after recent changes to drvdata handling (commit 0998d0631001288a5974afc0b2a5f568bcdecb4d, 'device-core: Ensure drvdata = NULL when no driver is bound'. Use snd_soc_register_card() method instead, as suggested by the ASoC core generated warning message, and move both the card and codec platform device registration to the arch board file where those belong. Created and tested against linux-3.6-rc5. Signed-off-by: Janusz Krzysztofik Acked-by: Tony Lindgren Signed-off-by: Mark Brown --- Reading git-diff-tree failed