Skip to content
Snippets Groups Projects
Commit a86c44d4 authored by Vasiliy Kulikov's avatar Vasiliy Kulikov Committed by Daniel Walker
Browse files

arm: mach-msm: fix error handling in msm_iommu_probe()


msm_iommu_probe() didn't free mem_region and mapped IO.
Also if request_mem_region() failed then error handling
code dereferenced NULL pointer.

Signed-off-by: default avatarVasiliy Kulikov <segooon@gmail.com>
Acked-by: default avatarStepan Moskovchenko <stepanm@codeaurora.org>
Signed-off-by: default avatarDaniel Walker <dwalker@codeaurora.org>
parent efdfb2b1
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment