mirror of
https://github.com/adulau/aha.git
synced 2025-01-04 07:03:38 +00:00
USB: pxa2xx_udc: fix hardcoded irq number
This patch changes last use of hardcoded number of irq to use platfrom_get_irq. Signed-off-by: Milan Svoboda <msvoboda@ra.rockwell.com> Acked-by: David Brownell <david-b@pacbell.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
34ebcd2823
commit
08a78cbb41
1 changed files with 1 additions and 1 deletions
|
@ -2607,7 +2607,7 @@ lubbock_fail0:
|
|||
if (retval != 0) {
|
||||
printk(KERN_ERR "%s: can't get irq %i, err %d\n",
|
||||
driver_name, vbus_irq, retval);
|
||||
free_irq(IRQ_USB, dev);
|
||||
free_irq(irq, dev);
|
||||
return -EBUSY;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue