Commit 2f1781aa authored by Jaroslav Kysela's avatar Jaroslav Kysela

ALSA CVS update

D:2003/09/30 11:12:09
C:VIA82xx driver
A:Takashi Iwai <tiwai@suse.de>
F:pci/via82xx.c:1.52->1.53 
L:- fixed the detection of VIA8233A (it was overridden by dxs_support
L:  option).
parent 74037c9b
...@@ -2038,6 +2038,7 @@ static int __devinit snd_via82xx_probe(struct pci_dev *pci, ...@@ -2038,6 +2038,7 @@ static int __devinit snd_via82xx_probe(struct pci_dev *pci,
break; break;
} }
} }
if (chip_type != TYPE_VIA8233A) {
if (dxs_support[dev] == VIA_DXS_AUTO) if (dxs_support[dev] == VIA_DXS_AUTO)
dxs_support[dev] = check_dxs_list(pci); dxs_support[dev] = check_dxs_list(pci);
/* force to use VIA8233 or 8233A model according to /* force to use VIA8233 or 8233A model according to
...@@ -2047,7 +2048,7 @@ static int __devinit snd_via82xx_probe(struct pci_dev *pci, ...@@ -2047,7 +2048,7 @@ static int __devinit snd_via82xx_probe(struct pci_dev *pci,
chip_type = TYPE_VIA8233A; chip_type = TYPE_VIA8233A;
else else
chip_type = TYPE_VIA8233; chip_type = TYPE_VIA8233;
}
if (chip_type == TYPE_VIA8233A) if (chip_type == TYPE_VIA8233A)
strcpy(card->driver, "VIA8233A"); strcpy(card->driver, "VIA8233A");
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment