]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/isa/sgalaxy.c
ALSA: wss_lib: use wss pcm code instead of ad1848 one
[linux-2.6-omap-h63xx.git] / sound / isa / sgalaxy.c
index e4f06de3480c3734581afc671345b96d3dcc561d..b43d6678ba203a70e2377d767e859b6a29607cad 100644 (file)
@@ -273,8 +273,9 @@ static int __devinit snd_sgalaxy_probe(struct device *devptr, unsigned int dev)
                goto _err;
        card->private_data = chip;
 
-       if ((err = snd_ad1848_pcm(chip, 0, NULL)) < 0) {
-               snd_printdd(PFX "error creating new ad1848 PCM device\n");
+       err = snd_wss_pcm(chip, 0, NULL);
+       if (err < 0) {
+               snd_printdd(PFX "error creating new WSS PCM device\n");
                goto _err;
        }
        err = snd_wss_mixer(chip);