aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/r8a66597-hcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/r8a66597-hcd.c')
-rw-r--r--drivers/usb/host/r8a66597-hcd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/host/r8a66597-hcd.c b/drivers/usb/host/r8a66597-hcd.c
index 9f80e5285575..afd4fbe7713c 100644
--- a/drivers/usb/host/r8a66597-hcd.c
+++ b/drivers/usb/host/r8a66597-hcd.c
@@ -960,9 +960,9 @@ static void prepare_packet_read(struct r8a66597 *r8a66597,
960 r8a66597_write(r8a66597, TRCLR, 960 r8a66597_write(r8a66597, TRCLR,
961 td->pipe->pipetre); 961 td->pipe->pipetre);
962 r8a66597_write(r8a66597, 962 r8a66597_write(r8a66597,
963 (urb->transfer_buffer_length 963 DIV_ROUND_UP
964 + td->maxpacket - 1) 964 (urb->transfer_buffer_length,
965 / td->maxpacket, 965 td->maxpacket),
966 td->pipe->pipetrn); 966 td->pipe->pipetrn);
967 r8a66597_bset(r8a66597, TRENB, 967 r8a66597_bset(r8a66597, TRENB,
968 td->pipe->pipetre); 968 td->pipe->pipetre);