commit | c0da00145f9a32ef33b14508e6fd90fc130afbdc | [log] [tgz] |
---|---|---|
author | Adrian Knoth <adi@drcomp.erfurt.thur.de> | Sun Jun 12 17:26:17 2011 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Sun Jun 12 18:49:42 2011 +0200 |
tree | c244dc13b4560f6169ef10890ca1a738e243c1cb | |
parent | 05e205429d3f73ad4f9f0d84e8a95e978237d6fd [diff] |
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>