MLK-16013-29 usb: typec: tcpm: Don't reset message id after soft reset
authorLi Jun <jun.li@nxp.com>
Wed, 9 Jan 2019 06:58:35 +0000 (12:28 +0530)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit6080e37525a87ce6ff5f33a82f48331a8847ca36
tree32516ee8eea5afdd318a5fb57c4ccab7bbc23df9
parent0cfefed6576b6cf7bca89e74fdd7595ad51ed8da
MLK-16013-29 usb: typec: tcpm: Don't reset message id after soft reset

If the power source sent soft reset and the other end accepted, we should
not reset the message id as it was already updated by pd_transmit when
handling the soft reset.

Reviewed-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Li Jun <jun.li@nxp.com>
Signed-off-by: Vipul Kumar <vipul_kumar@mentor.com>
drivers/usb/typec/tcpm.c