X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=drivers%2Fusb%2Fhost%2Fxhci-ring.c;h=bc5ee840125a265bf581741c1e9c20d768357f84;hp=188654458c2edead3f351c7964016674d316b061;hb=b85631abb6d4fa4d70ee223c3c4a65c5bf7e1709;hpb=31f8e87fc4a58d5207142b2108c22f39f4b9d147;ds=sidebyside diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c index 188654458c2e..bc5ee840125a 100644 --- a/drivers/usb/host/xhci-ring.c +++ b/drivers/usb/host/xhci-ring.c @@ -3521,7 +3521,7 @@ static unsigned int xhci_get_burst_count(struct xhci_hcd *xhci, return 0; max_burst = urb->ep->ss_ep_comp.bMaxBurst; - return roundup(total_packet_count, max_burst + 1) - 1; + return DIV_ROUND_UP(total_packet_count, max_burst + 1) - 1; } /*