usb: musb: fix bug in musb_schedule

This bug was introduced recently. Fix it before bigger
problems appear.

Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by Felipe Balbi and committed by Greg Kroah-Hartman aa5cbbec b09bc6cb

+1 -1
+1 -1
drivers/usb/musb/musb_host.c
··· 1757 1757 } 1758 1758 } 1759 1759 /* use bulk reserved ep1 if no other ep is free */ 1760 - if (best_end > 0 && qh->type == USB_ENDPOINT_XFER_BULK) { 1760 + if (best_end < 0 && qh->type == USB_ENDPOINT_XFER_BULK) { 1761 1761 hw_ep = musb->bulk_ep; 1762 1762 if (is_in) 1763 1763 head = &musb->in_bulk;