aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/mfd/ste_conn/ste_conn_cpd.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/mfd/ste_conn/ste_conn_cpd.c b/drivers/mfd/ste_conn/ste_conn_cpd.c
index c675677e51f..759410cbd8d 100644
--- a/drivers/mfd/ste_conn/ste_conn_cpd.c
+++ b/drivers/mfd/ste_conn/ste_conn_cpd.c
@@ -784,12 +784,14 @@ int ste_conn_cpd_chip_startup_finished(int err)
STE_CONN_INFO("ste_conn_cpd_chip_startup_finished (%d)", err);
if (err) {
- ste_conn_reset(NULL);
+ /* Shutdown the chip */
+ cpd_chip_shutdown();
} else {
CPD_SET_MAIN_STATE(CPD_STATE_ACTIVE);
- wake_up_interruptible(&ste_conn_cpd_wait_queue);
}
+ wake_up_interruptible(&ste_conn_cpd_wait_queue);
+
return ret_val;
}
EXPORT_SYMBOL(ste_conn_cpd_chip_startup_finished);