[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>
This commit is contained in:
committed by
Jaroslav Kysela
parent
48ecb7e879
commit
f78dfac904
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user