Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 110870
b: refs/heads/master
c: a0d9274
h: refs/heads/master
v: v3
  • Loading branch information
Rene Herman authored and Jaroslav Kysela committed Aug 6, 2008
1 parent c58ea6c commit 9af93de
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 31eca307fd9b1eb9ec138eb01bcfed16af60dabb
refs/heads/master: a0d9274cd888ada59fe2734f45019d84bc40ac3d
8 changes: 5 additions & 3 deletions trunk/sound/isa/opti9xx/opti92x-ad1848.c
Original file line number Diff line number Diff line change
Expand Up @@ -719,6 +719,8 @@ static int __devinit snd_opti9xx_probe(struct snd_card *card)
chip->dma1 = dma1;
#if defined(CS4231) || defined(OPTi93X)
chip->dma2 = dma2;
#else
chip->dma2 = -1;
#endif

if (chip->wss_base == SNDRV_AUTO_PORT) {
Expand All @@ -734,10 +736,10 @@ static int __devinit snd_opti9xx_probe(struct snd_card *card)

error = snd_wss_create(card, chip->wss_base + 4, -1,
chip->irq, chip->dma1, chip->dma2,
#ifdef CS4231
WSS_HW_DETECT, 0,
#else /* OPTi93x */
#ifdef OPTi93X
WSS_HW_OPTI93X, WSS_HWSHARE_IRQ,
#else
WSS_HW_DETECT, 0,
#endif
&codec);
if (error < 0)
Expand Down

0 comments on commit 9af93de

Please sign in to comment.