MLK-16013-33 usb: typec: Do not switch to unattached state for BIST
authorLi Jun <jun.li@nxp.com>
Wed, 9 Jan 2019 07:11:29 +0000 (12:41 +0530)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commite0ec20d8ff3ec2f9cb34ca755489a53db92bda3b
treec7057d98841fc49d867945ecf5012fac929d2c80
parent75d2109382bb56285f63974f6dec7bbc2d388525
MLK-16013-33 usb: typec: Do not switch to unattached state for BIST

If we received unsupported BIST command, we should by pass it and ready
to accept following command for test, not unconditionly to set the port
to be unattached state and terminate the test.

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