CS5535: Remove the X86 platform dependence of SND_CS5535AUDIO
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
@@ -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
Quoted 16 lines · Wu Zhangjin
There is no platform dependence of
SND_CS5535AUDIObefore 2.6.31, Not sure who have touched this part, butSND_CS5535AUDIOis at least available on Loongson family machines, so, Remove the platform dependence directly.Reported-by [email protected]Signed-off-by Wu Zhangjin <[email protected]>--- sound/pci/Kconfig | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)sound/pci/Kconfig +0
-0
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
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_CS5535AUDIObefore 2.6.31, Not sure who have touched this part, butSND_CS5535AUDIOis at least available on Loongson family machines, so, Remove the platform dependence directly.Reported-by [email protected]Signed-off-by Wu Zhangjin <[email protected]>--- sound/pci/Kconfig | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)sound/pci/Kconfig +0
-0sound/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_64or use this?
Quoted 5 lines
depends on (X86 && !X86_64) || MIPSRegards,
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).
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_CS5535AUDIObefore 2.6.31, Not sure who have touched this part, butSND_CS5535AUDIOis at least available on Loongson family machines, so, Remove the platform dependence directly.Reported-by [email protected]Signed-off-by Wu Zhangjin <[email protected]>--- sound/pci/Kconfig | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)sound/pci/Kconfig +0
-0sound/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_64or use this?
depends on (X86 && !X86_64) || MIPS
Quoted 9 lines
Quoted 3 lines
Regards,
Wu ZhangjinI'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
Andres Salomon
Acked-byQuoted 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_CS5535AUDIObefore 2.6.31, Not sure who have touched this part, butSND_CS5535AUDIOis at least available on Loongson family machines, so, Remove the platform dependence directly.Reported-by [email protected]Signed-off-by Wu Zhangjin <[email protected]>--- sound/pci/Kconfig | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)sound/pci/Kconfig +0
-1@@ -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