Merge git://git.denx.de/u-boot into x1
[platform/kernel/u-boot.git] / board / MAI / AmigaOneG3SE / usb_uhci.c
index 6d1133f..857ab3e 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;