[ALSA] oxygen: move MIDI flag to model struct
Put the flag that enables the MIDI port into the model structure instead of passing it as a separate parameter to oxygen_pci_probe(). Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
committed by
Takashi Iwai
parent
87eedd2fd4
commit
db12b8e301
@@ -181,7 +181,7 @@ static int __devinit hifier_probe(struct pci_dev *pci,
|
||||
++dev;
|
||||
return -ENOENT;
|
||||
}
|
||||
err = oxygen_pci_probe(pci, index[dev], id[dev], 0, &model_hifier);
|
||||
err = oxygen_pci_probe(pci, index[dev], id[dev], &model_hifier);
|
||||
if (err >= 0)
|
||||
++dev;
|
||||
return err;
|
||||
|
Reference in New Issue
Block a user