ALSA Maestro driver spinlock bug.
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 ?
Dave
At Tue, 4 Jan 2005 20:56:10 -0500,
Quoted 6 lines · Dave Jones
One of our Fedora users reported a bug that showed up with spinlock debugging enabled.
sound/pci/es1968.c:es1968_measure_clock()
Quoted 8 lines
At line 1811, we acquire
&chip->reg_lock
and then callsnd_es1968_bob_inc(), which callssnd_es1968_bob_start(), which tries to acquire the same lock at line 885.It barfs as a result. Is it safe to move
thesnd_es1968_bob_inc()call before we
take the lock ?
Already fixed in the recent ALSA version.
Takashi