mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-03 17:40:04 +00:00
USB: gadget: double free_irq() in at91udc_probe()
If request_irq() fails, udp_irq is freed twice. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
392ca68b40
commit
7f536692af
1 changed files with 0 additions and 1 deletions
|
@ -1754,7 +1754,6 @@ static int __init at91udc_probe(struct platform_device *pdev)
|
|||
IRQF_DISABLED, driver_name, udc)) {
|
||||
DBG("request vbus irq %d failed\n",
|
||||
udc->board.vbus_pin);
|
||||
free_irq(udc->udp_irq, udc);
|
||||
retval = -EBUSY;
|
||||
goto fail3;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue