mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
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:
parent
7c6f0d6195
commit
fd0c830548
1 changed files with 1 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue