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

Skip to content
Commit e4e6bc41 authored by Rajkumar Raghupathy's avatar Rajkumar Raghupathy Committed by Stephen Boyd
Browse files

USB: u_serial: Don't allow UDC to append and send a zero length packet



Two zero length packets are sent by the target in the current scenario:
1. From the device controller driver (as the req->zero flag is set if
   it is the last packet).
2. From the u_serial driver when the length of the packet is zero while
   checking for the next packet in the list.

Hence removing the code for the case1, as the zero length packet is
sent via u_serial function driver.

Change-Id: Ifc1bc9cf8435149534c271343ea7ef64b9ed4d4a
CRs-Fixed: 350179
Signed-off-by: default avatarRajkumar Raghupathy <raghup@codeaurora.org>
parent 950a3a3f
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