summaryrefslogtreecommitdiff
path: root/sound/isa/sc6000.c
diff options
context:
space:
mode:
authorKrzysztof Helt <krzysztof.h1@wp.pl>2008-07-31 21:05:44 +0200
committerJaroslav Kysela <perex@perex.cz>2008-08-06 15:39:51 +0200
commitece11c9b6db5b96179df8eb9cdc54c78953a4c0f (patch)
tree21c5ebf03d9750fc1c4a4551f84031e969e422b8 /sound/isa/sc6000.c
parent241b3ee70d2d69e88d5c144ce938b1887cd6d3fc (diff)
downloadlinux-3.10-ece11c9b6db5b96179df8eb9cdc54c78953a4c0f.tar.gz
linux-3.10-ece11c9b6db5b96179df8eb9cdc54c78953a4c0f.tar.bz2
linux-3.10-ece11c9b6db5b96179df8eb9cdc54c78953a4c0f.zip
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/sc6000.c')
-rw-r--r--sound/isa/sc6000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/isa/sc6000.c b/sound/isa/sc6000.c
index 1771f15d6d3..0b6cf472ddc 100644
--- a/sound/isa/sc6000.c
+++ b/sound/isa/sc6000.c
@@ -549,7 +549,7 @@ static int __devinit snd_sc6000_probe(struct device *devptr, unsigned int dev)
goto err_unmap2;
err = snd_ad1848_create(card, mss_port[dev] + 4, xirq, xdma,
- AD1848_HW_DETECT, &chip);
+ WSS_HW_DETECT, &chip);
if (err < 0)
goto err_unmap2;
card->private_data = chip;