ALSA Maestro driver spinlock bug.

From: Dave Jones
Date: Tue Jan 04 2005 - 21:02:00 EST


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

-
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/