summaryrefslogtreecommitdiffstats
path: root/sound/core/hwdep_compat.c
diff options
context:
space:
mode:
authorJanusz Krzysztofik <jmkrzyszt@gmail.com>2012-10-03 12:46:57 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-10-04 18:50:36 +0100
commitb764de2d8bafff3a52aa6ee66cedf435486974f4 (patch)
tree7f0713d5ab53f7df3c25bfe0f05a2a3d78b4b945 /sound/core/hwdep_compat.c
parent68214d998a2e3102854cf10ebe505243035702fc (diff)
downloadlinux-b764de2d8bafff3a52aa6ee66cedf435486974f4.tar.gz
linux-b764de2d8bafff3a52aa6ee66cedf435486974f4.tar.bz2
linux-b764de2d8bafff3a52aa6ee66cedf435486974f4.zip
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 <jkrzyszt@tis.icnet.pl> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/core/hwdep_compat.c')
0 files changed, 0 insertions, 0 deletions