summaryrefslogtreecommitdiff
path: root/sound/pci/oxygen/virtuoso.c
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2008-09-22 08:56:01 +0200
committerClemens Ladisch <clemens@ladisch.de>2008-09-22 08:56:01 +0200
commit568c59e722da22c9b0a485c2f1aaf28cb1b36b79 (patch)
tree295bdb15737e938992a9cd01450be516276b0ccd /sound/pci/oxygen/virtuoso.c
parent9bd6a73aef955216816fd6e28f371a868ed073d5 (diff)
downloadkernel-common-568c59e722da22c9b0a485c2f1aaf28cb1b36b79.tar.gz
kernel-common-568c59e722da22c9b0a485c2f1aaf28cb1b36b79.tar.bz2
kernel-common-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;