From: Ben Skeggs Date: Thu, 2 Nov 2017 22:37:27 +0000 (+1000) Subject: drm/nouveau/core/memory: fix missing mutex unlock X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=690f43ab1b659a7e072a2a0b33ff5783828c168b;p=linux.git drm/nouveau/core/memory: fix missing mutex unlock Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/nvkm/core/memory.c b/drivers/gpu/drm/nouveau/nvkm/core/memory.c index 29f4b4070b557..e85a08ecd9da5 100644 --- a/drivers/gpu/drm/nouveau/nvkm/core/memory.c +++ b/drivers/gpu/drm/nouveau/nvkm/core/memory.c @@ -64,6 +64,7 @@ nvkm_memory_tags_get(struct nvkm_memory *memory, struct nvkm_device *device, } refcount_inc(&tags->refcount); + mutex_unlock(&fb->subdev.mutex); *ptags = tags; return 0; }