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

Commit 9b8e7465 authored by Bojun Pan's avatar Bojun Pan Committed by Gerrit - the friendly Code Review server
Browse files

msm: IPA: add the missing iounmap handle



On uC debug stats, whenever uC provides the invalid protocol id,
we have to do the iounmap to prevent the leak.

Change-Id: I1360a04c5013657b5c9a051ee11d1a6cb5556915
Signed-off-by: default avatarBojun Pan <bojunp@codeaurora.org>
parent 4770b12d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -302,6 +302,7 @@ static void ipa3_uc_save_dbg_stats(u32 size)
		break;
	default:
		IPAERR("unknown protocols %d\n", prot_id);
		goto unmap;
	}
	return;
unmap: