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: Bojun Pan <bojunp@codeaurora.org>
This commit is contained in:
Bojun Pan 2019-10-11 10:14:13 -07:00 • committed by Gerrit - the friendly Code Review server
commit fd0c830548

View file

@ -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: