MLK-17237 staging: typec: return error when tcpci_parse_config has failed
authorPeter Chen <peter.chen@nxp.com>
Mon, 18 Dec 2017 09:21:43 +0000 (17:21 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:51:56 +0000 (14:51 -0500)
commitcb267e4dfda4c77d82cc36d58599c6bfe3bfffeb
tree4a96f953be2af71401076931c9be97adb0e9cbf5
parentada2d74515ff36ed2666844bd7221cb19ed7dcdb
MLK-17237 staging: typec: return error when tcpci_parse_config has failed

Otherwise, the probe would be considered successfully, and without
do any destroy jobs, eg, the interrupt has still registered.

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