[PATCH] drm/exynos: remove redundant mutex_unlock

Sachin Kamat sachin.kamat at linaro.org
Fri May 23 04:04:33 PDT 2014


Hi Andrzej,

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



-- 
With warm regards,
Sachin


More information about the dri-devel mailing list