diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2012-11-07 01:15:09 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-11-08 14:46:06 +0100 |
commit | 1c90ee0b3e30235165180a1a8ee3fb3cbe47d295 (patch) | |
tree | b1b820bf48e58064190d4b1d3fafba506358191b /arch/arm/plat-s3c24xx | |
parent | usb: renesas_usbhs: host: add endpoint user counter (diff) | |
download | linux-1c90ee0b3e30235165180a1a8ee3fb3cbe47d295.tar.xz linux-1c90ee0b3e30235165180a1a8ee3fb3cbe47d295.zip |
usb: renesas_usbhs: use transfer counter if IN direction bulk pipe
received data will break if it was bulk pipe and large data size,
because pipe kept BUF PID even though it doesn't have enough buffer.
To avoid this issue, renesas_usbhs can use transfer counter.
Pipe PID will be NAK if it didn't have enough buffer by this patch.
renesas_usbhs has strange address mapping.
Thus, it is difficult to calculate transfer counter setting address.
This patch use fixed table for it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'arch/arm/plat-s3c24xx')
0 files changed, 0 insertions, 0 deletions