Merge tag 'drm-misc-next-fixes-2021-09-09' of git://anongit.freedesktop.org/drm/drm...
[linux-2.6-microblaze.git] / drivers / gpu / host1x / syncpt.c
index e648ebb..d198a10 100644 (file)
@@ -407,6 +407,8 @@ static void syncpt_release(struct kref *ref)
 
        atomic_set(&sp->max_val, host1x_syncpt_read(sp));
 
+       sp->locked = false;
+
        mutex_lock(&sp->host->syncpt_mutex);
 
        host1x_syncpt_base_free(sp->base);