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

Commit fc7520b4 authored by Jishnu Prakash's avatar Jishnu Prakash Committed by Gerrit - the friendly Code Review server
Browse files

msm: sps: Restore ipc log destroy commands



Changes got reverted accidentally with commit e498154c
("msm: sps: Update debug message format specifier")
restoring them again.

Change-Id: I6c2c7b4d636131341139d89ff4d59b608df5da9b
Signed-off-by: default avatarJishnu Prakash <jprakash@codeaurora.org>
parent 3ea59a37
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);