aboutsummaryrefslogtreecommitdiffstats
path: root/sound/mips
diff options
context:
space:
mode:
Diffstat (limited to 'sound/mips')
-rw-r--r--sound/mips/Kconfig1
-rw-r--r--sound/mips/au1x00.c5
2 files changed, 0 insertions, 6 deletions
diff --git a/sound/mips/Kconfig b/sound/mips/Kconfig
index 2433b7727404..531f8ba96a71 100644
--- a/sound/mips/Kconfig
+++ b/sound/mips/Kconfig
@@ -8,7 +8,6 @@ config SND_AU1X00
8 depends on (SOC_AU1000 || SOC_AU1100 || SOC_AU1500) && SND 8 depends on (SOC_AU1000 || SOC_AU1100 || SOC_AU1500) && SND
9 select SND_PCM 9 select SND_PCM
10 select SND_AC97_CODEC 10 select SND_AC97_CODEC
11 select SND_GENERIC_DRIVER
12 help 11 help
13 ALSA Sound driver for the Au1x00's AC97 port. 12 ALSA Sound driver for the Au1x00's AC97 port.
14 13
diff --git a/sound/mips/au1x00.c b/sound/mips/au1x00.c
index f150cced9fc1..6d8f8b3eabd0 100644
--- a/sound/mips/au1x00.c
+++ b/sound/mips/au1x00.c
@@ -663,11 +663,6 @@ au1000_init(void)
663 strcpy(card->shortname, "AMD Au1000-AC97"); 663 strcpy(card->shortname, "AMD Au1000-AC97");
664 sprintf(card->longname, "AMD Au1000--AC97 ALSA Driver"); 664 sprintf(card->longname, "AMD Au1000--AC97 ALSA Driver");
665 665
666 if ((err = snd_card_set_generic_dev(card)) < 0) {
667 snd_card_free(card);
668 return err;
669 }
670
671 if ((err = snd_card_register(card)) < 0) { 666 if ((err = snd_card_register(card)) < 0) {
672 snd_card_free(card); 667 snd_card_free(card);
673 return err; 668 return err;