View Single Post
Old 01-28-04, 10:29 AM   #1
jcdutton
Registered User
 
Join Date: Jan 2004
Posts: 5
Default Bug in NVIDIA_nforce-1.0-0261.tar.gz

In nforce/nvaudio/nvspdif.c there is this code: -
void start_spdif(struct Nvaudio_state *state)
{
unsigned long flags;
spin_lock_irqsave(&state->lock, flags);
start_spdif(state);
spin_unlock_irqrestore(&state->lock, flags);
}

Which is obviously wrong, as it will just lock up.
A diff fix would be: -
--- nvspdif.c.org 2004-01-28 15:28:28.977486392 +0000
+++ nvspdif.c 2004-01-28 15:28:38.902977488 +0000
@@ -132,7 +132,7 @@
{
unsigned long flags;
spin_lock_irqsave(&state->lock, flags);
- start_spdif(state);
+ __start_spdif(state);
spin_unlock_irqrestore(&state->lock, flags);
}
jcdutton is offline   Reply With Quote