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

Skip to content
Unverified Commit 9da9df50 authored by Reyad Attiyat's avatar Reyad Attiyat Committed by Harsh Shandilya
Browse files

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



commit 4758dcd19a7d9ba9610b38fecb93f65f56f86346 upstream.

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.

Change-Id: I8b0f27a2e6a242120f4d568c48c09f6c9889b9a1
Signed-off-by: default avatarReyad Attiyat <reyad.attiyat@gmail.com>
Signed-off-by: default avatarMathias Nyman <mathias.nyman@linux.intel.com>
Cc: Oliver Neukum <oneukum@suse.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c4a34cc2
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