projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branch 'lsk/v3.10/topic/gator' into linux-linaro-lsk
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
usb
/
host
/
xhci-ring.c
diff --git
a/drivers/usb/host/xhci-ring.c
b/drivers/usb/host/xhci-ring.c
index bcfb08e41eb6a9f3478b6aa6ee7d8b7517f98b39..fe42cae6d1efd1fb10b0645e328c557b111576ec 100644
(file)
--- a/
drivers/usb/host/xhci-ring.c
+++ b/
drivers/usb/host/xhci-ring.c
@@
-3590,7
+3590,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;
}
/*