ALSA: mtpav - Fix race in probe
Ingo reported Oops at probing mtpav driver. It's a race between the irq handler and the rawmidi instance registration. This patch fixes the order of registration to avoid the race. Signed-off-by: NTakashi Iwai <tiwai@suse.de> Tested-by: NIngo Molnar <mingo@elte.hu> Signed-off-by: NJaroslav Kysela <perex@perex.cz>
Showing
想要评论请 注册 或 登录