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

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

usb: pd: qpnp-pdphy: Set nRetryCount based on PD spec rev



PD 3.0 changed nRetryCount to 2 whereas it was 3 on PD 2.0. This
affects how many times a failed TX message will be attempted in
pd_phy_write(). Add a check for the spec rev field of the message
header to determine what value to set for TX_CONTROL_RETRY_COUNT.

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