diff options
author | Takashi Iwai <tiwai@suse.de> | 2007-12-17 10:24:04 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-01-31 11:29:37 -0500 |
commit | f78dfac904325a996b8f97b045647898cc1ccc40 (patch) | |
tree | da53f0ddb0768c17d75615184cb1741c4abedd6b /sound/pcmcia/pdaudiocf | |
parent | 48ecb7e879ea172a0b3fd432ad49a870d7be6a59 (diff) |
[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/pcmcia/pdaudiocf')
-rw-r--r-- | sound/pcmcia/pdaudiocf/pdaudiocf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pcmcia/pdaudiocf/pdaudiocf.c b/sound/pcmcia/pdaudiocf/pdaudiocf.c index de683b08fe03..5f5bbea8c39a 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) | |||
129 | return -ENODEV; | 129 | return -ENODEV; |
130 | } | 130 | } |
131 | 131 | ||
132 | snd_card_set_dev(card, &handle_to_dev(link)); | ||
133 | |||
132 | pdacf->index = i; | 134 | pdacf->index = i; |
133 | card_list[i] = card; | 135 | card_list[i] = card; |
134 | 136 | ||