diff options
Diffstat (limited to 'sound/pci/au88x0/au88x0.c')
-rw-r--r-- | sound/pci/au88x0/au88x0.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sound/pci/au88x0/au88x0.c b/sound/pci/au88x0/au88x0.c index 238154bb7a25..5ec1b6fcd548 100644 --- a/sound/pci/au88x0/au88x0.c +++ b/sound/pci/au88x0/au88x0.c | |||
@@ -341,11 +341,7 @@ snd_vortex_probe(struct pci_dev *pci, const struct pci_device_id *pci_id) | |||
341 | snd_card_free(card); | 341 | snd_card_free(card); |
342 | return err; | 342 | return err; |
343 | } | 343 | } |
344 | if ((err = pci_read_config_byte(pci, PCI_REVISION_ID, | 344 | chip->rev = pci->revision; |
345 | &(chip->rev))) < 0) { | ||
346 | snd_card_free(card); | ||
347 | return err; | ||
348 | } | ||
349 | #ifdef CHIP_AU8830 | 345 | #ifdef CHIP_AU8830 |
350 | if ((chip->rev) != 0xfe && (chip->rev) != 0xfa) { | 346 | if ((chip->rev) != 0xfe && (chip->rev) != 0xfa) { |
351 | printk(KERN_ALERT | 347 | printk(KERN_ALERT |