diff options
author | Krzysztof Helt <krzysztof.h1@wp.pl> | 2008-07-31 15:05:44 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-08-06 09:39:51 -0400 |
commit | ece11c9b6db5b96179df8eb9cdc54c78953a4c0f (patch) | |
tree | 21c5ebf03d9750fc1c4a4551f84031e969e422b8 /sound/isa/opti9xx | |
parent | 241b3ee70d2d69e88d5c144ce938b1887cd6d3fc (diff) |
ALSA: wss_lib: use wss constants instead of ad1848 ones
Use wss constants for mode.
Move ad1848 hardware constants to the wss.h.
Move mixer tlv macros into the ad1848_lib.c from the ad1848.h.
Drop the MODE_RUNNING spurious IRQ guard on AD1848 as it doesn not seem
to be needed.
Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Reviewed-by: Rene Herman <rene.herman@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/isa/opti9xx')
-rw-r--r-- | sound/isa/opti9xx/opti92x-ad1848.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/isa/opti9xx/opti92x-ad1848.c b/sound/isa/opti9xx/opti92x-ad1848.c index ff9baf751b22..1f6d6fcd6e57 100644 --- a/sound/isa/opti9xx/opti92x-ad1848.c +++ b/sound/isa/opti9xx/opti92x-ad1848.c | |||
@@ -775,7 +775,7 @@ static int __devinit snd_opti9xx_probe(struct snd_card *card) | |||
775 | #else | 775 | #else |
776 | if ((error = snd_ad1848_create(card, chip->wss_base + 4, | 776 | if ((error = snd_ad1848_create(card, chip->wss_base + 4, |
777 | chip->irq, chip->dma1, | 777 | chip->irq, chip->dma1, |
778 | AD1848_HW_DETECT, &codec)) < 0) | 778 | WSS_HW_DETECT, &codec)) < 0) |
779 | return error; | 779 | return error; |
780 | if ((error = snd_ad1848_pcm(codec, 0, &pcm)) < 0) | 780 | if ((error = snd_ad1848_pcm(codec, 0, &pcm)) < 0) |
781 | return error; | 781 | return error; |