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

Commit 070a84b6 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: Destroy debug log during BAM deregistration"

parents c0690fe0 800742a7
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -2336,8 +2336,11 @@ int sps_deregister_bam_device(unsigned long dev_handle)
	mutex_lock(&bam->lock);
	mutex_lock(&bam->lock);
	sps_bam_device_de_init(bam);
	sps_bam_device_de_init(bam);
	mutex_unlock(&bam->lock);
	mutex_unlock(&bam->lock);
	ipc_log_context_destroy(bam->ipc_log0);
	ipc_log_context_destroy(bam->ipc_log1);
	ipc_log_context_destroy(bam->ipc_log1);
	ipc_log_context_destroy(bam->ipc_log2);
	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)
	if (bam->props.virt_size)
		(void)iounmap(bam->props.virt_addr);
		(void)iounmap(bam->props.virt_addr);