]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ALSA: mpu401: Fix missing initialization of irq field
authorTakashi Iwai <tiwai@suse.de>
Mon, 23 Jul 2012 09:35:55 +0000 (11:35 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 9 Aug 2012 23:24:53 +0000 (00:24 +0100)
commit67258e44992f03cd580e77b30d4c330f93eebaf7
treece59ffc0515eef804d8a0b53eacd618ba04ceec6
parent2c7b0211095a9110d26fd1a0e96648336bafd028
ALSA: mpu401: Fix missing initialization of irq field

commit bc733d495267a23ef8660220d696c6e549ce30b3 upstream.

The irq field of struct snd_mpu401 is supposed to be initialized to -1.
Since it's set to zero as of now, a probing error before the irq
installation results in a kernel warning "Trying to free already-free
IRQ 0".

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=44821
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
sound/drivers/mpu401/mpu401_uart.c