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)
commit57d68ee8f719efa05bcec64625a9898231ed43c5
treedec7482e155d1704a897bd45c7041a25e972ad51
parent374146cad469102b683939009f18fa88f9b9b6c9
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