MLK-20105 staging: typec: tcpm: keep non-PD session for no GoodCRC
authorLi Jun <jun.li@nxp.com>
Tue, 29 Jan 2019 05:57:58 +0000 (11:27 +0530)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit73a4348bbf336c418c933184162499d0cea29333
treee4d7e6e2ae88528490aed011a62d14b4b1012407
parentb73f484a6fd22787d764d647dbbe273213f68f86
MLK-20105 staging: typec: tcpm: keep non-PD session for no GoodCRC

In case of vbus_never_low, if source setup a typye-c only session, sink
time out on waiting for source capability message and send soft reset,
the source does not response by goodcrc for the soft reset message, we
don't do hard reset, but keep a non-PD typec session, because the source
maybe PD capable, this hard reset will make the source terminate the
session by turn off vbus, if this type-c port is the system power supply,
the whole system will reboot.

Acked-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Li Jun <jun.li@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
drivers/usb/typec/tcpm.c