summaryrefslogtreecommitdiff
path: root/linux/sound/pci/bt87x.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-02-11 07:53:24 -0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-02-11 07:53:24 -0200
commit4609ed0c664581008e1bc56a066abb9a8b835457 (patch)
treed1d0fde3b568049a23eeaa946692af0e9f190a22 /linux/sound/pci/bt87x.c
parent003bc60096fc22387e07ce8b916cba1e3dbdb752 (diff)
parent6c16e60ebc542dfe803c0070aaf3e356185b521a (diff)
downloadmediapointer-dvb-s2-4609ed0c664581008e1bc56a066abb9a8b835457.tar.gz
mediapointer-dvb-s2-4609ed0c664581008e1bc56a066abb9a8b835457.tar.bz2
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Solving conflicts at the tree Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/sound/pci/bt87x.c')
-rw-r--r--linux/sound/pci/bt87x.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/sound/pci/bt87x.c b/linux/sound/pci/bt87x.c
index e4e99e429..65f7b6a4f 100644
--- a/linux/sound/pci/bt87x.c
+++ b/linux/sound/pci/bt87x.c
@@ -781,6 +781,8 @@ static struct pci_device_id snd_bt87x_ids[] = {
BT_DEVICE(PCI_DEVICE_ID_BROOKTREE_879, 0x0070, 0x13eb, 32000),
/* Viewcast Osprey 200 */
BT_DEVICE(PCI_DEVICE_ID_BROOKTREE_878, 0x0070, 0xff01, 44100),
+ /* AVerMedia Studio No. 103, 203, ...? */
+ BT_DEVICE(PCI_DEVICE_ID_BROOKTREE_878, 0x1461, 0x0003, 48000),
{ }
};
MODULE_DEVICE_TABLE(pci, snd_bt87x_ids);
@@ -808,7 +810,7 @@ static int __devinit snd_bt87x_detect_card(struct pci_dev *pci)
const struct pci_device_id *supported;
supported = pci_match_device(&driver, pci);
- if (supported)
+ if (supported && supported->driver_data > 0)
return supported->driver_data;
for (i = 0; i < ARRAY_SIZE(blacklist); ++i)