projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
IRQ handler rewrite by Gabor Juhos, uses C no longer assembly
[openwrt.git]
/
target
/
linux
/
adm5120-2.6
/
files
/
drivers
/
usb
/
host
/
adm5120-hcd.c
diff --git
a/target/linux/adm5120-2.6/files/drivers/usb/host/adm5120-hcd.c
b/target/linux/adm5120-2.6/files/drivers/usb/host/adm5120-hcd.c
index
0f0a72a
..
8dabeeb
100644
(file)
--- a/
target/linux/adm5120-2.6/files/drivers/usb/host/adm5120-hcd.c
+++ b/
target/linux/adm5120-2.6/files/drivers/usb/host/adm5120-hcd.c
@@
-716,7
+716,12
@@
static int __init adm5120hcd_probe(struct platform_device *pdev)
data = platform_get_resource(pdev, IORESOURCE_MEM, 0);
addr = platform_get_resource(pdev, IORESOURCE_MEM, 1);
data = platform_get_resource(pdev, IORESOURCE_MEM, 0);
addr = platform_get_resource(pdev, IORESOURCE_MEM, 1);
- irq = platform_get_irq(pdev, 0);
+
+ if (request_irq(data->start, adm5120hcd_irq, 0, hcd_name, hcd)) {
+ printk(KERN_WARNING "Could not request IRQ\n");
+ err = -EBUSY;
+ goto out;
+ }
if (!addr || !data || irq < 0) {
err = -ENODEV;
if (!addr || !data || irq < 0) {
err = -ENODEV;
This page took
0.024085 seconds
and
4
git commands to generate.