All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/exynos: remove redundant mutex_unlock
@ 2014-05-23 10:57 Andrzej Hajda
  2014-05-23 11:04 ` Sachin Kamat
  2014-05-23 14:27 ` Inki Dae
  0 siblings, 2 replies; 3+ messages in thread
From: Andrzej Hajda @ 2014-05-23 10:57 UTC (permalink / raw)
  To: dri-devel
  Cc: Andrzej Hajda, Inki Dae, Kyungmin Park, linux-samsung-soc, t.figa,
	m.szyprowski

The patch fixes unlocking in exynos_drm_component_del.

Signed-off-by: Andrzej Hajda <a.hajda@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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm/exynos: remove redundant mutex_unlock
  2014-05-23 10:57 [PATCH] drm/exynos: remove redundant mutex_unlock Andrzej Hajda
@ 2014-05-23 11:04 ` Sachin Kamat
  2014-05-23 14:27 ` Inki Dae
  1 sibling, 0 replies; 3+ messages in thread
From: Sachin Kamat @ 2014-05-23 11:04 UTC (permalink / raw)
  To: Andrzej Hajda
  Cc: dri-devel@lists.freedesktop.org, Inki Dae, Kyungmin Park,
	linux-samsung-soc, Tomasz Figa, Marek Szyprowski

Hi Andrzej,

On 23 May 2014 16:27, Andrzej Hajda <a.hajda@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.hajda@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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
With warm regards,
Sachin

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm/exynos: remove redundant mutex_unlock
  2014-05-23 10:57 [PATCH] drm/exynos: remove redundant mutex_unlock Andrzej Hajda
  2014-05-23 11:04 ` Sachin Kamat
@ 2014-05-23 14:27 ` Inki Dae
  1 sibling, 0 replies; 3+ messages in thread
From: Inki Dae @ 2014-05-23 14:27 UTC (permalink / raw)
  To: Andrzej Hajda; +Cc: Kyungmin Park, linux-samsung-soc, dri-devel, m.szyprowski

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.hajda@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;
>  		}
>  	}
> 

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-05-23 14:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-23 10:57 [PATCH] drm/exynos: remove redundant mutex_unlock Andrzej Hajda
2014-05-23 11:04 ` Sachin Kamat
2014-05-23 14:27 ` Inki Dae

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.