mirror of https://gitee.com/openkylin/linux.git
drm/nouveau/core/memory: fix missing mutex unlock
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
6497c2baf2
commit
690f43ab1b
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue