diff options
Diffstat (limited to 'sound/mips/au1x00.c')
-rw-r--r-- | sound/mips/au1x00.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/mips/au1x00.c b/sound/mips/au1x00.c index c20522b02134..3f9684f1d1d2 100644 --- a/sound/mips/au1x00.c +++ b/sound/mips/au1x00.c | |||
@@ -667,6 +667,11 @@ au1000_init(void) | |||
667 | strcpy(au1000->card->shortname, "Au1000-AC97"); | 667 | strcpy(au1000->card->shortname, "Au1000-AC97"); |
668 | sprintf(au1000->card->longname, "AMD Au1000--AC97 ALSA Driver"); | 668 | sprintf(au1000->card->longname, "AMD Au1000--AC97 ALSA Driver"); |
669 | 669 | ||
670 | if ((err = snd_card_set_generic_dev(au1000->card)) < 0) { | ||
671 | snd_card_free(au1000->card); | ||
672 | return err; | ||
673 | } | ||
674 | |||
670 | if ((err = snd_card_register(au1000->card)) < 0) { | 675 | if ((err = snd_card_register(au1000->card)) < 0) { |
671 | snd_card_free(au1000->card); | 676 | snd_card_free(au1000->card); |
672 | return err; | 677 | return err; |