Re: 2.6.25-mm1 (snd-pcsp causes driver conflict)

From: Stas Sergeev
Date: Tue Apr 22 2008 - 13:55:27 EST


Hello.

Takashi Iwai wrote:
> Err, no, this wasn't merged to sound git tree because apparently the
> patch is to 2.6.22 and you didn't resubmit it...
That's simply because the old one
applies fine. :)

> No, I gave no ACK yet.
OK, sorry.

> I'd rather add a new line with a single "depends on SND_PCSP=n".
> You see a clear difference in the art of dependencies, one for
> architectures and one for driver-specific.
Done.

---
- Update CREDITS with the pc-speaker
driver authors.
- Prevent pcspkr from being built together
with snd-pcsp.

Signed-off-by: Stas Sergeev <stsp@xxxxxxxx>
diff -ur linux-2.6.25/CREDITS linux-2.6.25-pcsp-kern/CREDITS
--- linux-2.6.25/CREDITS 2008-02-16 22:37:23.000000000 +0300
+++ linux-2.6.25-pcsp-kern/CREDITS 2008-04-22 21:45:23.000000000 +0400
@@ -403,6 +403,8 @@
N: Erik Inge Bolsø
E: knan@xxxxxxxxxxxxx
D: Misc kernel hacks
+D: Updated PC speaker driver for 2.3
+S: Norway

N: Andreas E. Bombe
E: andreas.bombe@xxxxxxxxxxxxxxxxx
@@ -3116,6 +3118,12 @@
S: Sunnyvale, California 94088-4132
S: USA

+N: Stas Sergeev
+E: stsp@xxxxxxxxxxxxxxxxxxxxx
+D: PCM PC-Speaker driver
+D: misc fixes
+S: Russia
+
N: Simon Shapiro
E: shimon@xxxxxxxxxxxxx
W: http://www.-i-Connect.Net/~shimon
diff -ur linux-2.6.25/drivers/input/misc/Kconfig linux-2.6.25-pcsp-kern/drivers/input/misc/Kconfig
--- linux-2.6.25/drivers/input/misc/Kconfig 2008-04-22 20:50:41.000000000 +0400
+++ linux-2.6.25-pcsp-kern/drivers/input/misc/Kconfig 2008-04-22 21:45:23.000000000 +0400
@@ -15,6 +15,7 @@
config INPUT_PCSPKR
tristate "PC Speaker support"
depends on ALPHA || X86 || MIPS || PPC_PREP || PPC_CHRP || PPC_PSERIES
+ depends on SND_PCSP=n
help
Say Y here if you want the standard PC Speaker to be used for
bells and whistles.