projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix ar7 compile
[openwrt.git]
/
target
/
linux
/
ar7-2.6
/
files
/
arch
/
mips
/
ar7
/
vlynq.c
diff --git
a/target/linux/ar7-2.6/files/arch/mips/ar7/vlynq.c
b/target/linux/ar7-2.6/files/arch/mips/ar7/vlynq.c
index
80cb836
..
c491020
100644
(file)
--- a/
target/linux/ar7-2.6/files/arch/mips/ar7/vlynq.c
+++ b/
target/linux/ar7-2.6/files/arch/mips/ar7/vlynq.c
@@
-117,7
+117,7
@@
static void vlynq_irq_unmask(unsigned int irq)
BUG_ON(!dev);
virq = irq - dev->irq_start;
val = dev->remote->int_device[virq >> 2];
BUG_ON(!dev);
virq = irq - dev->irq_start;
val = dev->remote->int_device[virq >> 2];
- val |=
VINT_ENABLE
<< VINT_OFFSET(virq);
+ val |=
(VINT_ENABLE | virq)
<< VINT_OFFSET(virq);
dev->remote->int_device[virq >> 2] = val;
}
dev->remote->int_device[virq >> 2] = val;
}
@@
-307,6
+307,8
@@
int vlynq_device_enable(struct vlynq_device *dev)
if (vlynq_linked(dev))
return vlynq_setup_irq(dev);
}
if (vlynq_linked(dev))
return vlynq_setup_irq(dev);
}
+
+ return -ENODEV;
}
void vlynq_device_disable(struct vlynq_device *dev)
}
void vlynq_device_disable(struct vlynq_device *dev)
This page took
0.022035 seconds
and
4
git commands to generate.