// SPDX-License-Identifier: BSD-3-Clause-Clear
 /*
  * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
- * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
+ * Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved.
  */
 
 #include <linux/module.h>
 
        mutex_lock(&ab->core_lock);
        ath11k_thermal_unregister(ab);
-       ath11k_hif_irq_disable(ab);
        ath11k_dp_pdev_free(ab);
        ath11k_spectral_deinit(ab);
-       ath11k_hif_stop(ab);
+       ath11k_ce_cleanup_pipes(ab);
        ath11k_wmi_detach(ab);
        ath11k_dp_pdev_reo_cleanup(ab);
        mutex_unlock(&ab->core_lock);
        time_left = wait_for_completion_timeout(&ab->recovery_start,
                                                ATH11K_RECOVER_START_TIMEOUT_HZ);
 
+       ath11k_hif_irq_disable(ab);
+       ath11k_hif_ce_irq_disable(ab);
+
        ath11k_hif_power_down(ab);
        ath11k_hif_power_up(ab);