aboutsummaryrefslogtreecommitdiffstats
path: root/sound/isa/sgalaxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/isa/sgalaxy.c')
-rw-r--r--sound/isa/sgalaxy.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/isa/sgalaxy.c b/sound/isa/sgalaxy.c
index 5894b2d4db64..e4f06de3480c 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)
277 snd_printdd(PFX "error creating new ad1848 PCM device\n"); 277 snd_printdd(PFX "error creating new ad1848 PCM device\n");
278 goto _err; 278 goto _err;
279 } 279 }
280 if ((err = snd_ad1848_mixer(chip)) < 0) { 280 err = snd_wss_mixer(chip);
281 snd_printdd(PFX "error creating new ad1848 mixer\n"); 281 if (err < 0) {
282 snd_printdd(PFX "error creating new WSS mixer\n");
282 goto _err; 283 goto _err;
283 } 284 }
284 if ((err = snd_sgalaxy_mixer(chip)) < 0) { 285 if ((err = snd_sgalaxy_mixer(chip)) < 0) {