]> 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)
commit35739353c50bb7b3e948ac001809061ec579d809
treedec7482e155d1704a897bd45c7041a25e972ad51
parentaa6b093f4a67b509729800724e25da3b646f489f
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