Re: [PATCH] usb: xhci: Add support for URB_ZERO_PACKET to bulk/sg transfers

2015-06-28 Thread Reyad Attiyat
Sorry I have forgotten to change the dp loop check line in the bulk_sg function. Will resubmit. On Sun, Jun 28, 2015 at 7:36 PM, Reyad Attiyat wrote: > This commit checks for the URB_ZERO_PACKET flag and creates an extra > zero-length td if the urb transfer length is a multiple of the endpoint >

[PATCH] usb: xhci: Add support for URB_ZERO_PACKET to bulk/sg transfers

2015-06-28 Thread Reyad Attiyat
This commit checks for the URB_ZERO_PACKET flag and creates an extra zero-length td if the urb transfer length is a multiple of the endpoint max packet length. Signed-off-by: Reyad Attiyat --- drivers/usb/host/xhci-ring.c | 41 - 1 file changed, 32

[PATCH] usb: xhci: Add support for URB_ZERO_PACKET to bulk/sg transfers

2015-06-28 Thread Reyad Attiyat
This commit checks for the URB_ZERO_PACKET flag and creates an extra zero-length td if the urb transfer length is a multiple of the endpoint max packet length. Signed-off-by: Reyad Attiyat reyad.atti...@gmail.com --- drivers/usb/host/xhci-ring.c | 41 - 1

Re: [PATCH] usb: xhci: Add support for URB_ZERO_PACKET to bulk/sg transfers

2015-06-28 Thread Reyad Attiyat
Sorry I have forgotten to change the dp loop check line in the bulk_sg function. Will resubmit. On Sun, Jun 28, 2015 at 7:36 PM, Reyad Attiyat reyad.atti...@gmail.com wrote: This commit checks for the URB_ZERO_PACKET flag and creates an extra zero-length td if the urb transfer length is a