Re: ALSA Maestro driver spinlock bug.

From: Takashi Iwai
Date: Wed Jan 05 2005 - 08:32:22 EST


At Tue, 4 Jan 2005 20:56:10 -0500,
Dave Jones wrote:
>
> One of our Fedora users reported a bug that showed up
> with spinlock debugging enabled.
>
> sound/pci/es1968.c: es1968_measure_clock()
>
> At line 1811, we acquire &chip->reg_lock
> and then call snd_es1968_bob_inc(), which
> calls snd_es1968_bob_start(), which tries to
> acquire the same lock at line 885.
>
> It barfs as a result. Is it safe to move
> the snd_es1968_bob_inc() call before we
> take the lock ?

Already fixed in the recent ALSA version.


Takashi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/