diff options
author | Krzysztof Helt <krzysztof.h1@wp.pl> | 2008-07-31 21:08:32 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-08-06 15:39:55 +0200 |
commit | 5664daa1c1fa250dd7f6b336278b0402638e8edc (patch) | |
tree | a128ca1e8ead396c43bb50827ef989cdd34f5ca9 /sound/isa/sgalaxy.c | |
parent | 811585e9d1769d6e282852fc0675735209547ca0 (diff) | |
download | linux-3.10-5664daa1c1fa250dd7f6b336278b0402638e8edc.tar.gz linux-3.10-5664daa1c1fa250dd7f6b336278b0402638e8edc.tar.bz2 linux-3.10-5664daa1c1fa250dd7f6b336278b0402638e8edc.zip |
ALSA: wss_lib: use wss mixer code instead of ad1848 one
Use the wss mixer code and kill the ad1848 mixer code.
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/sgalaxy.c')
-rw-r--r-- | sound/isa/sgalaxy.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/isa/sgalaxy.c b/sound/isa/sgalaxy.c index 5894b2d4db6..e4f06de3480 100644 --- a/sound/isa/sgalaxy.c +++ b/sound/isa/sgalaxy.c @@ -277,8 +277,9 @@ static int __devinit snd_sgalaxy_probe(struct device *devptr, unsigned int dev) snd_printdd(PFX "error creating new ad1848 PCM device\n"); goto _err; } - if ((err = snd_ad1848_mixer(chip)) < 0) { - snd_printdd(PFX "error creating new ad1848 mixer\n"); + err = snd_wss_mixer(chip); + if (err < 0) { + snd_printdd(PFX "error creating new WSS mixer\n"); goto _err; } if ((err = snd_sgalaxy_mixer(chip)) < 0) { |