]> git.sur5r.net Git - u-boot/blobdiff - board/MAI/AmigaOneG3SE/usb_uhci.c
Merge git://git.denx.de/u-boot into x1
[u-boot] / board / MAI / AmigaOneG3SE / usb_uhci.c
index 6d1133f84edf20fc7cef91fbb098542ff9b72367..857ab3edca7595ac46e08806998fc878618c1673 100644 (file)
@@ -801,7 +801,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");
 #if 0
                uhci->rh.urb = urb;