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

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

usb: pd: Don't print pd_send_msg error if PD not connected



commit 87b3d7aa ("usb: pd: Add string definitions for message
types") added an error message to the log whenever any PD transmit
fails. But this should be suppressed at least for Source Capabilities
when connecting to a non-PD sink. Hence, only print an error message
if pd_connected is true.

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