Skip to contentSkip to conversation

drm/exynos: remove redundant mutex_unlock

PATCH Applied Andrzej Hajda 3 participants 3 messages May 23, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/exynos: remove redundant mutex_unlock

The patch fixes unlocking in exynos_drm_component_del.

---
Hi Inki,

This patch is based on exynos_drm_next branch.

Regards
Andrzej

---
 drivers/gpu/drm/exynos/exynos_drm_drv.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/exynos/exynos_drm_drv.c +0 -1
index 4cef88f..c5a401ae 100644
@@ -417,7 +417,6 @@ void exynos_drm_component_del(struct device *dev,
 		if (dev == cdev->dev) {
 			list_del(&cdev->list);
 			kfree(cdev);
-			mutex_unlock(&drm_component_lock);
 			break;
 		}
 	}
Signature · 1 line
1.9.1
#1 lore raw

Hi Andrzej,

Quoted 1 line · Andrzej Hajda

The patch fixes unlocking in exynos_drm_component_del.

This patch actually removes multiple unlocking issue.

Quoted 32 lines

---
Hi Inki,

This patch is based on exynos_drm_next branch.

Regards
Andrzej

---
 drivers/gpu/drm/exynos/exynos_drm_drv.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/exynos/exynos_drm_drv.c +0 -2
index 4cef88f..c5a401ae 100644
@@ -417,7 +417,6 @@ void exynos_drm_component_del(struct device *dev,
                if (dev == cdev->dev) {
                        list_del(&cdev->list);
                        kfree(cdev);
-                       mutex_unlock(&drm_component_lock);
                        break;
                }
        }
--

1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 2 lines
With warm regards,
Sachin
maintainer Applied
#2 lore raw
In reply to Andrzej Hajda
Quoted 1 line · Andrzej Hajda

The patch fixes unlocking in exynos_drm_component_del.

Applied.

Thanks,
Inki Dae

Quoted 19 lines

---
Hi Inki,

This patch is based on exynos_drm_next branch.

Regards
Andrzej

---
 drivers/gpu/drm/exynos/exynos_drm_drv.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/exynos/exynos_drm_drv.c +0 -0
index 4cef88f..c5a401ae 100644

drivers/gpu/drm/exynos/exynos_drm_drv.c void exynos_drm_component_del(struct device *dev, · line 422

Quoted 7 lines
drivers/gpu/drm/exynos/exynos_drm_drv.c +0 -1
@@ -417,7 +417,6 @@ void exynos_drm_component_del(struct device *dev,
 		if (dev == cdev->dev) {
 			list_del(&cdev->list);
 			kfree(cdev);
-			mutex_unlock(&drm_component_lock);
 			break;
 		}
 	}

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel