drm/etnaviv: fix missing unlock on error in etnaviv_iommuv1_context_alloc()
authorWei Yongjun <weiyongjun1@huawei.com>
Mon, 19 Aug 2019 06:17:33 +0000 (06:17 +0000)
committerLucas Stach <l.stach@pengutronix.de>
Mon, 2 Sep 2019 10:48:55 +0000 (12:48 +0200)
commitdbcc574a4bfad810ce6e118f3cf327c7b6e7c897
tree0d863bca3f4f1001403e68fa8e7bb44511090299
parent578d2342ec702e5fb8a77983fabb3754ae3e9660
drm/etnaviv: fix missing unlock on error in etnaviv_iommuv1_context_alloc()

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

Fixes: 27b67278e007 ("drm/etnaviv: rework MMU handling")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
drivers/gpu/drm/etnaviv/etnaviv_iommu.c