Bugzilla – Attachment 194648 Details for
Bug 360607
some sound devices inaccessible
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Forgot Password
[patch]
Add missing sound device links
snd-ps3-devlink-fix.diff (text/plain), 1.91 KB, created by
Takashi Iwai
on 2008-02-13 11:44:12 UTC
(
hide
)
Description:
Add missing sound device links
Filename:
MIME Type:
Creator:
Takashi Iwai
Created:
2008-02-13 11:44:12 UTC
Size:
1.91 KB
patch
obsolete
>[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> > >--- >commit f78dfac904325a996b8f97b045647898cc1ccc40 >tree da53f0ddb0768c17d75615184cb1741c4abedd6b >parent 48ecb7e879ea172a0b3fd432ad49a870d7be6a59 >author Takashi Iwai <tiwai@suse.de> Mon, 17 Dec 2007 16:24:04 +0100 >committer Jaroslav Kysela <perex@perex.cz> Thu, 31 Jan 2008 17:29:37 +0100 > > sound/arm/pxa2xx-ac97.c | 1 + > sound/pcmcia/pdaudiocf/pdaudiocf.c | 2 ++ > sound/ppc/snd_ps3.c | 1 + > 3 files changed, 4 insertions(+), 0 deletions(-) > >diff --git a/sound/arm/pxa2xx-ac97.c b/sound/arm/pxa2xx-ac97.c >index 55c6c82..d255503 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); >diff --git a/sound/pcmcia/pdaudiocf/pdaudiocf.c b/sound/pcmcia/pdaudiocf/pdaudiocf.c >index de683b0..5f5bbea 100644 >--- a/sound/pcmcia/pdaudiocf/pdaudiocf.c >+++ b/sound/pcmcia/pdaudiocf/pdaudiocf.c >@@ -129,6 +129,8 @@ static int snd_pdacf_probe(struct pcmcia_device *link) > return -ENODEV; > } > >+ snd_card_set_dev(card, &handle_to_dev(link)); >+ > pdacf->index = i; > card_list[i] = card; > >diff --git a/sound/ppc/snd_ps3.c b/sound/ppc/snd_ps3.c >index 27b6189..af812dc 100644 >--- a/sound/ppc/snd_ps3.c >+++ b/sound/ppc/snd_ps3.c >@@ -954,6 +954,7 @@ static int __init snd_ps3_driver_probe(struct ps3_system_bus_device *dev) > snd_ps3_init_avsetting(&the_card); > > /* register the card */ >+ snd_card_set_dev(the_card.card, &dev->core); > ret = snd_card_register(the_card.card); > if (ret < 0) > goto clean_dma_map;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 360607
: 194648 |
196174