diff options
author | Kishon Vijay Abraham I <kishon@ti.com> | 2015-07-27 12:25:28 +0530 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-07-30 11:43:34 -0500 |
commit | 2e5464da4e7dc55e1751d2beb3e6e78f35020756 (patch) | |
tree | 9c986cb519d8fadc3f3fd3f2e7eeca8af84f804a /drivers/usb/dwc3/io.h | |
parent | b2fb5b1a0f50d3ebc12342c8d8dead245e9c9d4e (diff) |
usb: dwc3: ep0: use _roundup_ to calculate the transfer size
No functional change. Used _roundup_ macro to calculate the transfer
size aligned to maxpacket in dwc3_ep0_complete_data. It also makes it
similar to how transfer size is calculated in __dwc3_ep0_do_control_data.
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3/io.h')
0 files changed, 0 insertions, 0 deletions