]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hdspm - Fix locking in snd_hdspm_midi_input_read
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>
Sun, 12 Jun 2011 15:26:17 +0000 (17:26 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sun, 12 Jun 2011 16:49:42 +0000 (18:49 +0200)
commit4ad4b378fba3608b6990c6ad8331ecee9bf7ad46
treec244dc13b4560f6169ef10890ca1a738e243c1cb
parent1fd6137713ff67aa4fed04c665feb20b73ee7ad1
ALSA: hdspm - Fix locking in snd_hdspm_midi_input_read

For the MIDI part, we need to acquire (and release) the hmidi->lock,
access to the global hdspm structure is serialized through
hmidi->hdspm->lock instead.

Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/rme9652/hdspm.c