projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8801815
)
USB: pxa2xx_udc: fix hardcoded irq number
author
Milan Svoboda
<msvoboda@ra.rockwell.com>
Tue, 27 Feb 2007 09:20:09 +0000
(09:20 +0000)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Sat, 10 Mar 2007 03:52:23 +0000
(19:52 -0800)
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>
drivers/usb/gadget/pxa2xx_udc.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/pxa2xx_udc.c
b/drivers/usb/gadget/pxa2xx_udc.c
index f01890dc87515493393dcbf1ea05a8dd0dcd418f..571f3ebb70ab705fd95545853dda4a359c463ea4 100644
(file)
--- a/
drivers/usb/gadget/pxa2xx_udc.c
+++ b/
drivers/usb/gadget/pxa2xx_udc.c
@@
-2616,7
+2616,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;
}
}