[ALSA] Add snd_card_set_generic_dev() call
[linux-2.6.git] / sound / sparc / cs4231.c
index 36f9fe4..bd169f5 100644 (file)
@@ -1915,6 +1915,9 @@ static int cs4231_attach_finish(snd_card_t *card, cs4231_t *chip)
        if ((err = snd_cs4231_timer(chip)) < 0)
                goto out_err;
 
+       if ((err = snd_card_set_generic_dev(card)) < 0)
+               goto out_err;
+
        if ((err = snd_card_register(card)) < 0)
                goto out_err;