Message ID | 20201201042237.414235-4-badhri@google.com |
---|---|
State | New |
Headers | show |
Series | [v1,1/4] usb: typec: tcpm: Pass down negotiated rev to update retry count | expand |
diff --git a/drivers/usb/typec/tcpm/wcove.c b/drivers/usb/typec/tcpm/wcove.c index 9b745f432c91..79ae63950050 100644 --- a/drivers/usb/typec/tcpm/wcove.c +++ b/drivers/usb/typec/tcpm/wcove.c @@ -356,7 +356,8 @@ static int wcove_set_pd_rx(struct tcpc_dev *tcpc, bool on) static int wcove_pd_transmit(struct tcpc_dev *tcpc, enum tcpm_transmit_type type, - const struct pd_message *msg) + const struct pd_message *msg, + unsigned int negotiated_rev) { struct wcove_typec *wcove = tcpc_to_wcove(tcpc); unsigned int info = 0;
pd_transmit callback now passes down negotiated_rev to set retry count accordingly if needed. Signed-off-by: Badhri Jagan Sridharan <badhri@google.com> --- drivers/usb/typec/tcpm/wcove.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)