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,16 +2038,17 @@ static int __devinit snd_via82xx_probe(struct pci_dev *pci, ...@@ -2038,16 +2038,17 @@ static int __devinit snd_via82xx_probe(struct pci_dev *pci,
break; break;
} }
} }
if (dxs_support[dev] == VIA_DXS_AUTO) if (chip_type != TYPE_VIA8233A) {
dxs_support[dev] = check_dxs_list(pci); if (dxs_support[dev] == VIA_DXS_AUTO)
/* force to use VIA8233 or 8233A model according to dxs_support[dev] = check_dxs_list(pci);
* dxs_support module option /* force to use VIA8233 or 8233A model according to
*/ * dxs_support module option
if (dxs_support[dev] == VIA_DXS_DISABLE) */
chip_type = TYPE_VIA8233A; if (dxs_support[dev] == VIA_DXS_DISABLE)
else chip_type = TYPE_VIA8233A;
chip_type = TYPE_VIA8233; else
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