drm/nouveau/core/memory: fix missing mutex unlock

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
Ben Skeggs 2017-11-03 08:37:27 +10:00
parent 6497c2baf2
commit 690f43ab1b
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}