]> git.baikalelectronics.ru Git - kernel.git/commit
drm/panfrost: Fix missing unlock on error in panfrost_mmu_map_fault_addr()
authorWei Yongjun <weiyongjun1@huawei.com>
Wed, 14 Aug 2019 04:48:14 +0000 (04:48 +0000)
committerRob Herring <robh@kernel.org>
Mon, 19 Aug 2019 16:32:40 +0000 (11:32 -0500)
commitee6a23fcee34367e0eeb96920d6bd7a8f5ea91b4
tree22fd59cdf41d7df66d3a28cb54ef2238c0091a41
parentf59d81365d14ce57a56148c34b88f1145e681c1f
drm/panfrost: Fix missing unlock on error in panfrost_mmu_map_fault_addr()

Add the missing unlock before return from function panfrost_mmu_map_fault_addr()
in the error handling case.

Fixes: 6a8c97e79db1 ("drm/panfrost: Add support for GPU heap allocations")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190814044814.102294-1-weiyongjun1@huawei.com
drivers/gpu/drm/panfrost/panfrost_mmu.c