commit | 4758dcd19a7d9ba9610b38fecb93f65f56f86346 | [log] [tgz] |
---|---|---|
author | Reyad Attiyat <reyad.attiyat@gmail.com> | Thu Aug 06 19:23:58 2015 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Aug 08 15:15:49 2015 -0700 |
tree | 54b9c2793c08662ef5a87be26ca07d036771cf2d | |
parent | 6c05cb145d6716f00d452aeb27916efb6d190cca [diff] |
usb: xhci: Add support for URB_ZERO_PACKET to bulk/sg transfers 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's max packet length. Signed-off-by: Reyad Attiyat <reyad.attiyat@gmail.com> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>