[PATCH] drm/exynos: remove redundant mutex_unlock

2014-05-23 Thread Andrzej Hajda
The patch fixes unlocking in exynos_drm_component_del.

Signed-off-by: Andrzej Hajda a.ha...@samsung.com
---
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(-)

diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.c 
b/drivers/gpu/drm/exynos/exynos_drm_drv.c
index 4cef88f..c5a401ae 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_drv.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_drv.c
@@ -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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] drm/exynos: remove redundant mutex_unlock

2014-05-23 Thread Sachin Kamat
Hi Andrzej,

On 23 May 2014 16:27, Andrzej Hajda a.ha...@samsung.com wrote:
 The patch fixes unlocking in exynos_drm_component_del.

This patch actually removes multiple unlocking issue.


 Signed-off-by: Andrzej Hajda a.ha...@samsung.com
 ---
 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(-)

 diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.c 
 b/drivers/gpu/drm/exynos/exynos_drm_drv.c
 index 4cef88f..c5a401ae 100644
 --- a/drivers/gpu/drm/exynos/exynos_drm_drv.c
 +++ b/drivers/gpu/drm/exynos/exynos_drm_drv.c
 @@ -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 majord...@vger.kernel.org
 More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
With warm regards,
Sachin
--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] drm/exynos: remove redundant mutex_unlock

2014-05-23 Thread Inki Dae
On 2014년 05월 23일 19:57, Andrzej Hajda wrote:
 The patch fixes unlocking in exynos_drm_component_del.

Applied.

Thanks,
Inki Dae

 
 Signed-off-by: Andrzej Hajda a.ha...@samsung.com
 ---
 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(-)
 
 diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.c 
 b/drivers/gpu/drm/exynos/exynos_drm_drv.c
 index 4cef88f..c5a401ae 100644
 --- a/drivers/gpu/drm/exynos/exynos_drm_drv.c
 +++ b/drivers/gpu/drm/exynos/exynos_drm_drv.c
 @@ -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;
   }
   }
 

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