[ALSA] oxygen: remove MIDI autodetection

The MIDI bit in the MISC register is set by default and cannot be used
to detect the presence of a MIDI port.  Instead, add a parameter to the
oxygen_pci_probe() function so that model drivers can specify this.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Этот коммит содержится в:
Clemens Ladisch
2008-01-21 08:45:37 +01:00
коммит произвёл Jaroslav Kysela
родитель db2396d495
Коммит 44fb7aae82
4 изменённых файлов: 7 добавлений и 5 удалений

Просмотреть файл

@@ -266,7 +266,7 @@ static int __devinit xonar_probe(struct pci_dev *pci,
++dev;
return -ENOENT;
}
err = oxygen_pci_probe(pci, index[dev], id[dev], &model_xonar);
err = oxygen_pci_probe(pci, index[dev], id[dev], 1, &model_xonar);
if (err >= 0)
++dev;
return err;