[ALSA] fix locking for rawmidi trigger callbacks
Generic drivers,MPU401 UART,SB8 driver,Wavefront drivers,CS4281 driver
ENS1370/1+ driver,CS46xx driver,EMU10K1/EMU10K2 driver,RME HDSP driver
Use spin_lock_irqsave() instead of spin_lock() in places where we
could be interrupted by another hardware interrupt that could call
the rawmidi trigger callback that could try to take the same lock.
Additionally, remove locking code that is no longer needed now that
the trigger callback is no longer called recursively from the rawmidi
'event' handler.
Signed-off-by:
Clemens Ladisch <clemens@ladisch.de>
Showing
Please register or sign in to comment