summaryrefslogtreecommitdiffstats
path: root/sound/arm/pxa2xx-ac97.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2007-12-17 16:24:04 +0100
committerJaroslav Kysela <perex@perex.cz>2008-01-31 17:29:37 +0100
commitf78dfac904325a996b8f97b045647898cc1ccc40 (patch)
treeda53f0ddb0768c17d75615184cb1741c4abedd6b /sound/arm/pxa2xx-ac97.c
parent[ALSA] hda-codec - Avoid overload of PCM volume on Cx5045 codec (diff)
downloadlinux-f78dfac904325a996b8f97b045647898cc1ccc40.tar.xz
linux-f78dfac904325a996b8f97b045647898cc1ccc40.zip
[ALSA] Add missing device link
Added the missing link to struct device from the card instance. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/arm/pxa2xx-ac97.c')
-rw-r--r--sound/arm/pxa2xx-ac97.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/arm/pxa2xx-ac97.c b/sound/arm/pxa2xx-ac97.c
index 55c6c822bec1..d255503e7e07 100644
--- a/sound/arm/pxa2xx-ac97.c
+++ b/sound/arm/pxa2xx-ac97.c
@@ -352,6 +352,7 @@ static int __devinit pxa2xx_ac97_probe(struct platform_device *dev)
snprintf(card->longname, sizeof(card->longname),
"%s (%s)", dev->dev.driver->name, card->mixername);
+ snd_card_set_dev(card, &dev->dev);
ret = snd_card_register(card);
if (ret == 0) {
platform_set_drvdata(dev, card);