Takashi Iwai 219df32fae 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>
2008-11-03 08:57:12 +01:00
..
2008-08-13 11:46:35 +02:00
2008-08-13 11:46:35 +02:00
2008-01-31 17:29:48 +01:00
2008-07-29 21:32:06 +02:00
2008-01-31 17:29:48 +01:00
2008-10-18 11:05:36 +02:00
2008-08-13 11:46:35 +02:00
2008-08-25 09:57:38 +02:00