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:
Родитель
392ca68b40
Коммит
7f536692af
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче