Skip to content

Commit

Permalink
drm/nouveau/core/memory: fix missing mutex unlock
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Ben Skeggs committed Nov 2, 2017
1 parent 6497c2b commit 690f43a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/nouveau/nvkm/core/memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 690f43a

Please sign in to comment.