]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: perfmon: Add missing mutex_destroy
authorMaxime Ripard <maxime@cerno.tech>
Mon, 11 Jul 2022 17:39:36 +0000 (19:39 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Wed, 13 Jul 2022 08:46:13 +0000 (10:46 +0200)
commit41323e4bb82e3263400e444c4abf7e3e325c48d6
treedec7482e155d1704a897bd45c7041a25e972ad51
parentfbc0a5718a559e408485f6b6c2d9a45bd00bedf0
drm/vc4: perfmon: Add missing mutex_destroy

vc4_perfmon_open_file() will instantiate a mutex for that file instance,
but we never call mutex_destroy () in vc4_perfmon_close_file().

Let's add that missing call.

Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20220711173939.1132294-67-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_perfmon.c