drm/vc4: Switch to drmm_mutex_init

mutex_init is supposed to be balanced by a call to mutex_destroy that we
were never doing in the vc4 driver.

Since a DRM-managed mutex_init variant has been introduced, let's just
switch to it.

Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20220711173939.1132294-66-maxime@cerno.tech
This commit is contained in:
Maxime Ripard 2022-07-11 19:39:35 +02:00
commit 374146cad4
No known key found for this signature in database
GPG key ID: E3EF0D6F671851C5
4 changed files with 28 additions and 6 deletions