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

Skip to content
Commit a74d29a4 authored by Jack Pham's avatar Jack Pham Committed by Gerrit - the friendly Code Review server
Browse files

usb: pd: Allow Status Data Block payloads up to 6 bytes



The PD 3.0 V1.2 spec updated the length of the Status Data Block
to 6 bytes from 5 bytes. Current handling is checking for the
payload length to be exactly 5 bytes and discards it otherwise.
Change this to allow reading up to 6 bytes. This also allows
the possibility to retrieve a 2-byte Status DB over SOP'/SOP''
from a cable e-marker if needed in the future.

Change-Id: I3a78e61b4821c1fd57887276f27be03f73ce5f0f
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent b1fac94e
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