Re: [PATCH] usb: xhci: merge xhci_queue_bulk_tx and queue_bulk_sg_tx functions

2016-03-14 Thread Alexandr Ivanov
Have you tested that bulk transfers still work as they should? Yes, I have tested it with EJ168 USB 3.0 Host Controller and USB 3.0 storage device and didn't find any problems. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to

Re: [PATCH] usb: xhci: merge xhci_queue_bulk_tx and queue_bulk_sg_tx functions

2016-03-14 Thread Mathias Nyman
On 10.03.2016 12:54, Alexandr Ivanov wrote: In drivers/usb/host/xhci-ring.c there are two functions (xhci_queue_bulk_tx and queue_bulk_sg_tx) that are very similar, so a lot of code duplication. This patch merges these functions into to one xhci_queue_bulk_tx. Also counting the needed TRBs is

[PATCH] usb: xhci: merge xhci_queue_bulk_tx and queue_bulk_sg_tx functions

2016-03-10 Thread Alexandr Ivanov
In drivers/usb/host/xhci-ring.c there are two functions (xhci_queue_bulk_tx and queue_bulk_sg_tx) that are very similar, so a lot of code duplication. This patch merges these functions into to one xhci_queue_bulk_tx. Also counting the needed TRBs is merged and refactored. Signed-off-by: Alexandr