Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit df8a261d authored by Reyad Attiyat's avatar Reyad Attiyat Committed by Sasha Levin
Browse files

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



[ Upstream commit 4758dcd19a7d9ba9610b38fecb93f65f56f86346 ]

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: default avatarReyad Attiyat <reyad.attiyat@gmail.com>
Signed-off-by: default avatarMathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarSasha Levin <sasha.levin@oracle.com>
parent aafb9ef3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment