summaryrefslogtreecommitdiff
path: root/sound/soc/soc-core.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-05-04 02:30:36 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-05-04 02:30:36 +0400
commit20ed0938bfb132638f68618ba2e694aafe24d3e2 (patch)
tree938d33049fe8158d02d6d81b44986a5cf421359c /sound/soc/soc-core.c
parente1a02066080da55026c193603c7468c2d95d14a9 (diff)
parent9ab88434e8b5ffc5a638b5b1d3b9a67dceb28e5d (diff)
downloadlinux-20ed0938bfb132638f68618ba2e694aafe24d3e2.tar.xz
Merge branch 'for-2.6.39' into for-2.6.40
Diffstat (limited to 'sound/soc/soc-core.c')
-rw-r--r--sound/soc/soc-core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index fbd011ebe19f..133edeb9728a 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -3356,6 +3356,8 @@ int snd_soc_register_card(struct snd_soc_card *card)
if (!card->name || !card->dev)
return -EINVAL;
+ dev_set_drvdata(card->dev, card);
+
snd_soc_initialize_card_lists(card);
soc_init_card_debugfs(card);