mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-16 17:57:38 -04:00
drm/nouveau/core/memory: fix missing mutex unlock
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user