Skip to contentSkip to conversation

video-mmp-delete-a-stray-mutex_unlock.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jan 13, 2014 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

Subject: [merged] video-mmp-delete-a-stray-mutex_unlock.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Mon, 13 Jan 2014 13:21:48 -0800

The patch titled
Subject: drivers/video/mmp/core.c: delete a stray mutex_unlock()
has been removed from the -mm tree. Its filename was
video-mmp-delete-a-stray-mutex_unlock.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Dan Carpenter <[email protected]>
Subject: drivers/video/mmp/core.c: delete a stray mutex_unlock()

We aren't holding the disp_lock so we shouldn't release it.

Cc Jean-Christophe Plagniol-Villard <[email protected]>
Cc Tomi Valkeinen <[email protected]>
Cc Andrei Epure <[email protected]>
Cc Lisa Du <[email protected]>
Cc Zhou Zhu <[email protected]>

---

 drivers/video/mmp/core.c |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
drivers/video/mmp/core.c renamed from drivers/video/mmp/core.c~video-mmp-delete-a-stray-mutex_unlock +1 -1
diff -puN drivers/video/mmp/core.c~video-mmp-delete-a-stray-mutex_unlock drivers/video/mmp/core.c
@@ -173,7 +173,7 @@ struct mmp_path *mmp_register_path(struc
 		+ sizeof(struct mmp_overlay) * info->overlay_num;
 	path = kzalloc(size, GFP_KERNEL);
 	if (!path)
-		goto failed;
+		return NULL;
 
 	/* path set */
 	mutex_init(&path->access_ok);
@@ -219,11 +219,6 @@ struct mmp_path *mmp_register_path(struc
 
 	mutex_unlock(&disp_lock);
 	return path;