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

Skip to content
Commit aa3aa443 authored by Jack Pham's avatar Jack Pham
Browse files

usb: pd: release SS lane only if USB host is started



Now that we check for the "USB Communications Capable" bit in
either the Source Capabilities message (in sink mode) or Request
(in source mode), USB host mode is sometimes not even started.
In case DP driver requests to release SS lanes, there is no need
to restart USB host in this case, so add a check for that,
otherwise an error value will be returned which could be
interpreted as a failure to release the SS lanes.

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