commit | c67125245f16a153b98f781d34b77daba1d66625 | [log] [tgz] |
---|---|---|
author | Jack Pham <jackp@codeaurora.org> | Thu Jun 07 10:29:15 2018 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Thu Jul 19 11:18:22 2018 -0700 |
tree | f57cd25c29b19ff56417304a6d59e18c14c5cd4b | |
parent | b904b66361d3e9f1c82ba20692b724be992c6c2c [diff] |
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: Jack Pham <jackp@codeaurora.org>