Skip to contentSkip to conversation

CS5535: Remove the X86 platform dependence of SND_CS5535AUDIO

PATCH In review Wu Zhangjin 2 participants 5 messages Oct 9, 2009 – Oct 10, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 CS5535: Remove the X86 platform dependence of SND_CS5535AUDIO

There is no platform dependence of SND_CS5535AUDIO before 2.6.31, Not sure who have touched this part, but SND_CS5535AUDIO is at least available on Loongson family machines, so, Remove the platform dependence directly.

---
 sound/pci/Kconfig |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
sound/pci/Kconfig +0 -1
index fb5ee3c..75c602b 100644
@@ -259,7 +259,6 @@ config SND_CS5530
 
 config SND_CS5535AUDIO
 	tristate "CS5535/CS5536 Audio"
-	depends on X86 && !X86_64
 	select SND_PCM
 	select SND_AC97_CODEC
 	help
Signature · 1 line
1.6.2.1
#1 lore raw
Quoted 16 lines · Wu Zhangjin

There is no platform dependence of SND_CS5535AUDIO before 2.6.31, Not sure who have touched this part, but SND_CS5535AUDIO is at least available on Loongson family machines, so, Remove the platform dependence directly.

---
 sound/pci/Kconfig |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
sound/pci/Kconfig +0 -0
index fb5ee3c..75c602b 100644

sound/pci/Kconfig config SND_CS5530 · line 262

Quoted 4 lines
sound/pci/Kconfig +0 -1
@@ -259,7 +259,6 @@ config SND_CS5530
 
 config SND_CS5535AUDIO
 	tristate "CS5535/CS5536 Audio"
-	depends on X86 && !X86_64

or use this?

	depends on (X86 && !X86_64) || MIPS

Regards,
Wu Zhangjin

#2 lore raw
Quoted 24 lines · On Fri, 09 Oct 2009 11:51:27 +0800 Wu Zhangjin <[email protected]> wrote:
Quoted 16 lines · Wu Zhangjin

There is no platform dependence of SND_CS5535AUDIO before 2.6.31, Not sure who have touched this part, but SND_CS5535AUDIO is at least available on Loongson family machines, so, Remove the platform dependence directly.

---
 sound/pci/Kconfig |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
sound/pci/Kconfig +0 -0
index fb5ee3c..75c602b 100644

sound/pci/Kconfig config SND_CS5530 · line 262

Quoted 4 lines
sound/pci/Kconfig +0 -1
@@ -259,7 +259,6 @@ config SND_CS5530
 
 config SND_CS5535AUDIO
 	tristate "CS5535/CS5536 Audio"
-	depends on X86 && !X86_64

or use this?

Quoted 5 lines
	depends on (X86 && !X86_64) || MIPS

Regards,
Wu Zhangjin

I'd say just remove the arch dependency (and make sure it builds and doesn't obviously explode w/ x86-64). There's no need for it, afaict. It's been there since at least 2005 (git commit 230b5c1a).

#3 lore raw

Hello,

Quoted 29 lines · Andres Salomon
Quoted 26 lines · On Fri, 09 Oct 2009 11:51:27 +0800 Wu Zhangjin <[email protected]> wrote:
Quoted 16 lines · Wu Zhangjin

There is no platform dependence of SND_CS5535AUDIO before 2.6.31, Not sure who have touched this part, but SND_CS5535AUDIO is at least available on Loongson family machines, so, Remove the platform dependence directly.

---
 sound/pci/Kconfig |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
sound/pci/Kconfig +0 -0
index fb5ee3c..75c602b 100644

sound/pci/Kconfig config SND_CS5530 · line 262

Quoted 4 lines
sound/pci/Kconfig +0 -1
@@ -259,7 +259,6 @@ config SND_CS5530
 
 config SND_CS5535AUDIO
 	tristate "CS5535/CS5536 Audio"
-	depends on X86 && !X86_64

or use this?

	depends on (X86 && !X86_64) || MIPS
Quoted 9 lines
Quoted 3 lines

Regards,
Wu Zhangjin

I'd say just remove the arch dependency (and make sure it builds and doesn't obviously explode w/ x86-64). There's no need for it, afaict. It's been there since at least 2005 (git commit 230b5c1a).

Just checked the SND_CS5536AUDIO(=y and =m) option with ARCH=x86_64, no compiling warnings & errors, but I don't have such a chip in a x86-64 machine, so, did not test the kernel yet.

Regards,
Wu Zhangjin

#4 lore raw
Quoted 28 lines · On Sat, 10 Oct 2009 22:32:14 +0800 Wu Zhangjin <[email protected]> wrote:

Hello,

Quoted 25 lines · Andres Salomon
Quoted 22 lines · On Fri, 09 Oct 2009 11:51:27 +0800 Wu Zhangjin <[email protected]> wrote:
Quoted 20 lines · Wu Zhangjin

There is no platform dependence of SND_CS5535AUDIO before 2.6.31, Not sure who have touched this part, but SND_CS5535AUDIO is at least available on Loongson family machines, so, Remove the platform dependence directly.

---
 sound/pci/Kconfig |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
sound/pci/Kconfig +0 -1
index fb5ee3c..75c602b 100644
@@ -259,7 +259,6 @@ config SND_CS5530
 
 config SND_CS5535AUDIO
 	tristate "CS5535/CS5536 Audio"
-	depends on X86 && !X86_64

[...]

Quoted 8 lines

Just checked the SND_CS5536AUDIO(=y and =m) option with ARCH=x86_64, no compiling warnings & errors, but I don't have such a chip in a x86-64 machine, so, did not test the kernel yet.

Regards,
Wu Zhangjin

Great, feel free to add