projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f918a6
)
ALSA: asihpi - Add snd_card_set_dev to init.
author
Eliot Blennerhassett
<eblennerhassett@audioscience.com>
Thu, 10 Feb 2011 04:26:10 +0000
(17:26 +1300)
committer
Takashi Iwai
<tiwai@suse.de>
Thu, 10 Feb 2011 17:49:32 +0000
(18:49 +0100)
Signed-off-by: Eliot Blennerhassett <eblennerhassett@audioscience.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/asihpi/asihpi.c
patch
|
blob
|
history
diff --git
a/sound/pci/asihpi/asihpi.c
b/sound/pci/asihpi/asihpi.c
index
8dda81a
..
b824df1
100644
(file)
--- a/
sound/pci/asihpi/asihpi.c
+++ b/
sound/pci/asihpi/asihpi.c
@@
-2840,9
+2840,11
@@
static int __devinit snd_asihpi_probe(struct pci_dev *pci_dev,
hpi_card->index, card->number);
}
+ snd_card_set_dev(card, &pci_dev->dev);
+
asihpi = (struct snd_card_asihpi *) card->private_data;
asihpi->card = card;
- asihpi->pci =
hpi_card->pci
;
+ asihpi->pci =
pci_dev
;
asihpi->adapter_index = hpi_card->index;
hpi_handle_error(hpi_adapter_get_info(
asihpi->adapter_index,