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

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

usb: pd: Add string definitions for message types



Introduce string constants to correspond to the data, control
and extended message types. Use these to clean up all instances
of pd_send_msg() error logs, as they can now be consolidated
using a common format string. phy_msg_received() can get the
same treatment by logging the message type as a string instead
of a numeral which eases debugging.

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