diff mbox

ALSA: cs5535audio: Also needed on MIPS

Message ID 20140311113834.24b9b0a6@endymion.delvare (mailing list archive)
State Accepted
Headers show

Commit Message

Jean Delvare March 11, 2014, 10:38 a.m. UTC
The CS5536 companion chipset is not only used on 32-bit x86 systems as
I originally thought, it is also used on MIPS Loongson/Lemote 2
systems. So let the snd-cs5535audio driver be built on MIPS too.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Jaya Kumar <jayakumar.alsa@gmail.com>
Cc: Jaroslav Kysela <perex@perex.cz>
Cc: Takashi Iwai <tiwai@suse.de>
Cc: Ralf Baechle <ralf@linux-mips.org>
---
Takashi: the powerpc reference was irrelevant as the defconfig file I
mentioned includes all possible sound drivers.

Ralf: do you happen to know if any other CS55xx chip was used on MIPS
systems? Or any non-x86 systems for that matter.

 sound/pci/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Takashi Iwai March 11, 2014, 11:11 a.m. UTC | #1
At Tue, 11 Mar 2014 11:38:34 +0100,
Jean Delvare wrote:
> 
> The CS5536 companion chipset is not only used on 32-bit x86 systems as
> I originally thought, it is also used on MIPS Loongson/Lemote 2
> systems. So let the snd-cs5535audio driver be built on MIPS too.
> 
> Signed-off-by: Jean Delvare <jdelvare@suse.de>
> Cc: Jaya Kumar <jayakumar.alsa@gmail.com>
> Cc: Jaroslav Kysela <perex@perex.cz>
> Cc: Takashi Iwai <tiwai@suse.de>
> Cc: Ralf Baechle <ralf@linux-mips.org>
> ---
> Takashi: the powerpc reference was irrelevant as the defconfig file I
> mentioned includes all possible sound drivers.

OK, thanks for checking.

> Ralf: do you happen to know if any other CS55xx chip was used on MIPS
> systems? Or any non-x86 systems for that matter.

I applied the patch now.  If any further correction is needed, let me
know.


thanks,

Takashi

> 
>  sound/pci/Kconfig |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- linux-3.14-rc6.orig/sound/pci/Kconfig	2014-03-10 21:09:12.142069639 +0100
> +++ linux-3.14-rc6/sound/pci/Kconfig	2014-03-11 11:29:10.346528331 +0100
> @@ -286,7 +286,7 @@ config SND_CS5530
>  
>  config SND_CS5535AUDIO
>  	tristate "CS5535/CS5536 Audio"
> -	depends on X86_32 || COMPILE_TEST
> +	depends on X86_32 || MIPS || COMPILE_TEST
>  	select SND_PCM
>  	select SND_AC97_CODEC
>  	help
> 
> 
> -- 
> Jean Delvare
> SUSE L3 Support
>
diff mbox

Patch

--- linux-3.14-rc6.orig/sound/pci/Kconfig	2014-03-10 21:09:12.142069639 +0100
+++ linux-3.14-rc6/sound/pci/Kconfig	2014-03-11 11:29:10.346528331 +0100
@@ -286,7 +286,7 @@  config SND_CS5530
 
 config SND_CS5535AUDIO
 	tristate "CS5535/CS5536 Audio"
-	depends on X86_32 || COMPILE_TEST
+	depends on X86_32 || MIPS || COMPILE_TEST
 	select SND_PCM
 	select SND_AC97_CODEC
 	help