MLK-16013-21 staging: typec: tcpm: handle pd message send failure
authorLi Jun <jun.li@nxp.com>
Thu, 27 Jul 2017 13:47:51 +0000 (21:47 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:36:19 +0000 (15:36 -0500)
commitaa2489ddb7ac7249d00c8796dfaa55a0bfe5bf00
tree46f7676edccaa263dae42f53cfc3c65fb536da08
parentb72a2ad1bb648754016e4ba11a80d970b74cf144
MLK-16013-21 staging: typec: tcpm: handle pd message send failure

If the PD message send failed, we need to do soft reset, further if
soft reset failed, we have to start a hard reset.

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