diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2008-09-22 02:56:01 -0400 |
---|---|---|
committer | Clemens Ladisch <clemens@ladisch.de> | 2008-09-22 02:56:01 -0400 |
commit | 568c59e722da22c9b0a485c2f1aaf28cb1b36b79 (patch) | |
tree | 295bdb15737e938992a9cd01450be516276b0ccd /sound/pci/oxygen/virtuoso.c | |
parent | 9bd6a73aef955216816fd6e28f371a868ed073d5 (diff) |
ALSA: oxygen: add probe callback
Add a probe callback to the model structure so that model-specific
drivers can refine their model detection before the card is initialized.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Diffstat (limited to 'sound/pci/oxygen/virtuoso.c')
-rw-r--r-- | sound/pci/oxygen/virtuoso.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/oxygen/virtuoso.c b/sound/pci/oxygen/virtuoso.c index 01d7b75f9182..4aa2857a1b05 100644 --- a/sound/pci/oxygen/virtuoso.c +++ b/sound/pci/oxygen/virtuoso.c | |||
@@ -696,7 +696,7 @@ static int __devinit xonar_probe(struct pci_dev *pci, | |||
696 | return -ENOENT; | 696 | return -ENOENT; |
697 | } | 697 | } |
698 | err = oxygen_pci_probe(pci, index[dev], id[dev], | 698 | err = oxygen_pci_probe(pci, index[dev], id[dev], |
699 | &xonar_models[pci_id->driver_data]); | 699 | &xonar_models[pci_id->driver_data], 0); |
700 | if (err >= 0) | 700 | if (err >= 0) |
701 | ++dev; | 701 | ++dev; |
702 | return err; | 702 | return err; |