summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau
diff options
context:
space:
mode:
authorMaíra Canal <mcanal@igalia.com>2022-11-08 14:54:25 -0300
committerMelissa Wen <melissa.srw@gmail.com>2022-11-10 11:49:40 -0100
commitd23a6e3f764b69c122fc18537cc73548fdc95939 (patch)
tree68f8990c47cb603d1a0532a62f24d6b28f1cb6a8 /drivers/gpu/drm/nouveau
parent91d502f6ebe64e500a10aee68df2c65c0bfb2113 (diff)
downloadlinux-stable-d23a6e3f764b69c122fc18537cc73548fdc95939.tar.gz
linux-stable-d23a6e3f764b69c122fc18537cc73548fdc95939.tar.bz2
linux-stable-d23a6e3f764b69c122fc18537cc73548fdc95939.zip
drm/v3d: add missing mutex_destroy
v3d_perfmon_open_file() instantiates a mutex for a particular file instance, but it never destroys it by calling mutex_destroy() in v3d_perfmon_close_file(). Similarly, v3d_perfmon_create_ioctl() instantiates a mutex for a particular perfmon, but it never destroys it by calling mutex_destroy() in v3d_perfmon_destroy_ioctl(). So, add the missing mutex_destroy on both cases. Signed-off-by: Maíra Canal <mcanal@igalia.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Melissa Wen <melissa.srw@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20221108175425.39819-3-mcanal@igalia.com
Diffstat (limited to 'drivers/gpu/drm/nouveau')
0 files changed, 0 insertions, 0 deletions