Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3670ea6f authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "cnss2: Make sure RAM dump is cleaned during SSR powerup"

parents e0b76d0b 1fc49af0
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1038,6 +1038,11 @@ static int cnss_qca6290_powerup(struct cnss_plat_data *plat_priv)
		return -ENODEV;
	}

	if (plat_priv->ramdump_info_v2.dump_data_valid) {
		cnss_pci_set_mhi_state(pci_priv, CNSS_MHI_DEINIT);
		cnss_pci_clear_dump_info(pci_priv);
	}

	ret = cnss_power_on_device(plat_priv);
	if (ret) {
		cnss_pr_err("Failed to power on device, err = %d\n", ret);