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

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

Merge "msm: sps: Restore ipc log destroy commands"

parents dc32e84f fc7520b4
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2322,8 +2322,11 @@ int sps_deregister_bam_device(unsigned long dev_handle)
	mutex_lock(&bam->lock);
	sps_bam_device_de_init(bam);
	mutex_unlock(&bam->lock);
	ipc_log_context_destroy(bam->ipc_log0);
	ipc_log_context_destroy(bam->ipc_log1);
	ipc_log_context_destroy(bam->ipc_log2);
	ipc_log_context_destroy(bam->ipc_log3);
	ipc_log_context_destroy(bam->ipc_log4);
	if (bam->props.virt_size)
		(void)iounmap(bam->props.virt_addr);