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

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

Merge "soc: qcom: pil-msa: Disable ahb clock during modem ramdump collection"

parents f2d81a45 c1d75984
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -42,4 +42,5 @@ int pil_mss_reset_load_mba(struct pil_desc *pil);
int pil_mss_make_proxy_votes(struct pil_desc *pil);
void pil_mss_remove_proxy_votes(struct pil_desc *pil);
int pil_mss_shutdown(struct pil_desc *pil);
int pil_mss_deinit_image(struct pil_desc *pil);
#endif
+3 −3
Original line number Diff line number Diff line
@@ -173,10 +173,10 @@ static int modem_ramdump(int enable, const struct subsys_desc *subsys)
	if (ret < 0)
		pr_err("Unable to dump modem fw memory (rc = %d).\n", ret);

	dma_free_attrs(&drv->mba_mem_dev, drv->q6->mba_size,
			drv->q6->mba_virt, drv->q6->mba_phys, &drv->attrs_dma);
	ret = pil_mss_deinit_image(&drv->q6->desc);
	if (ret < 0)
		pr_err("Unable to free up resources (rc = %d).\n", ret);

	pil_mss_shutdown(&drv->q6->desc);
	pil_mss_remove_proxy_votes(&drv->q6->desc);
	return ret;
}