Re: [PATCH 2/3] usb: renesas_usbhs: use transfer counter if IN direction bulk pipe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 06, 2012 at 12:11:43AM -0800, Kuninori Morimoto wrote:
> 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@xxxxxxxxxxx>

this one fails to apply. Please rebase on my gadget branch:

$ patch -p1 --dry-run < patch.diff
patching file drivers/usb/renesas_usbhs/fifo.c
Hunk #3 FAILED at 798.
1 out of 3 hunks FAILED -- saving rejects to file drivers/usb/renesas_usbhs/fifo.c.rej
patching file drivers/usb/renesas_usbhs/pipe.c
patching file drivers/usb/renesas_usbhs/pipe.h

-- 
balbi

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux