projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34ebcd2
)
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>
Fri, 27 Apr 2007 20:28:33 +0000
(13:28 -0700)
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
|
blame
|
history
diff --git
a/drivers/usb/gadget/pxa2xx_udc.c
b/drivers/usb/gadget/pxa2xx_udc.c
index 1096a30d18c1a6aa4f41eeeaf5888c3104b1d284..2c043a1ea15678e865e51af464dc901d3fa12f2a 100644
(file)
--- a/
drivers/usb/gadget/pxa2xx_udc.c
+++ b/
drivers/usb/gadget/pxa2xx_udc.c
@@
-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;
}
}