summaryrefslogtreecommitdiffstats
path: root/sound/pci/oxygen/virtuoso.c
diff options
context:
space:
mode:
authorClemens Ladisch2008-09-22 08:56:01 +0200
committerClemens Ladisch2008-09-22 08:56:01 +0200
commit568c59e722da22c9b0a485c2f1aaf28cb1b36b79 (patch)
tree295bdb15737e938992a9cd01450be516276b0ccd /sound/pci/oxygen/virtuoso.c
parentALSA: oxygen: use a copy of the model struct (diff)
downloadkernel-qcow2-linux-568c59e722da22c9b0a485c2f1aaf28cb1b36b79.tar.gz
kernel-qcow2-linux-568c59e722da22c9b0a485c2f1aaf28cb1b36b79.tar.xz
kernel-qcow2-linux-568c59e722da22c9b0a485c2f1aaf28cb1b36b79.zip
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.c2
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,
return -ENOENT;
}
err = oxygen_pci_probe(pci, index[dev], id[dev],
- &xonar_models[pci_id->driver_data]);
+ &xonar_models[pci_id->driver_data], 0);
if (err >= 0)
++dev;
return err;