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

Commit 1c3fca26 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 a21cd1f1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -321,6 +321,7 @@ static void ipa3_uc_save_dbg_stats(u32 size)
		break;
	default:
		IPAERR("unknown protocols %d\n", prot_id);
		goto unmap;
	}
	return;
unmap: