MLK-16013-16: staging: typec: tcpm: tcpm init sequence update
authorLi Jun <jun.li@nxp.com>
Wed, 26 Jul 2017 17:08:27 +0000 (01:08 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:36:19 +0000 (15:36 -0500)
commit486f91d4b826c4f9654379d68eeeafc3435b26cd
tree369c4e5f84cf89743226a2f235a71d97b00e86c2
parent2a46b39fed8e191b2e7796d6e411ca1600939edf
MLK-16013-16: staging: typec: tcpm: tcpm init sequence update

Force an error recovery is not a good way to handle all cases and may
break the case of power up with typec already connected. Also the tcpc
init should start after tcpm init setup is done, as tcpc init will
turn on HW event alert so may generate events immediately and drive
tcpm state machine go forward, so move it at the end of tcpm_init.

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