aboutsummaryrefslogtreecommitdiffstats
path: root/sound/drivers
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-11-03 08:17:05 +0100
committerTakashi Iwai <tiwai@suse.de>2008-11-03 08:57:12 +0100
commit219df32faec97349516c29f33008fea59a46e99a (patch)
tree36dcaeaa04b23c35e6abbec1b219618b9e459dbb /sound/drivers
parentALSA: sound/ice1712: indentation & braces disagree - add braces (diff)
downloadlinux-dev-219df32faec97349516c29f33008fea59a46e99a.tar.xz
linux-dev-219df32faec97349516c29f33008fea59a46e99a.zip
ALSA: rawmidi - Add open check in rawmidi callbacks
The drivers (e.g. mtpav) may call rawmidi functions in irq handlers even though the streams are not opened. This results in Oops or panic. This patch adds the rawmidi state check before actually operating the rawmidi buffers. Tested-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/drivers')
0 files changed, 0 insertions, 0 deletions