Re: [PATCH] staging: goldfish: Call free_irq in error path

From: One Thousand Gnomes
Date: Tue Apr 08 2014 - 07:17:18 EST


On Tue, 8 Apr 2014 09:15:22 +0300
Tuomas Tynkkynen <tuomas.tynkkynen@xxxxxx> wrote:

> If misc_register failed in goldfish_audio_probe, the already requested
> IRQ wouldn't get freed. Add a call to free_irq() like there is in
> goldfish_audio_remove().
>
> Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@xxxxxx>

Acked-by: Alan Cox <alan@xxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/