projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
The PIPE_INTERRUPT flag is used wrong
[platform/kernel/u-boot.git]
/
cpu
/
leon3
/
usb_uhci.c
diff --git
a/cpu/leon3/usb_uhci.c
b/cpu/leon3/usb_uhci.c
index
7910beb
..
8f99e1d
100644
(file)
--- a/
cpu/leon3/usb_uhci.c
+++ b/
cpu/leon3/usb_uhci.c
@@
-901,7
+901,7
@@
int uhci_submit_rh_msg(struct usb_device *dev, unsigned long pipe, void *buffer,
unsigned short wIndex;
unsigned short wLength;
- if (
(pipe & PIPE_INTERRUPT) == PIPE_INTERRUPT
) {
+ if (
usb_pipeint(pipe)
) {
printf("Root-Hub submit IRQ: NOT implemented\n");
return 0;
}