From: Daniel Mack Date: Thu, 3 May 2018 12:00:55 +0000 (+0200) Subject: drm/msm: remove unbalanced mutex unlock X-Git-Tag: microblaze-v4.19-rc1~102^2~3^2~10 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=3c9620cdff9e94bc1b8dd688612f0ff46da78e0f;p=linux-2.6-microblaze.git drm/msm: remove unbalanced mutex unlock This regression stems from 0e08270a1f01 ("drm/msm: Separate locking of buffer resources from struct_mutex"). Signed-off-by: Daniel Mack Cc: Sushmita Susheelendra Cc: Rob Clark Fixes: 0e08270a1f01 ("drm/msm: Separate locking of buffer resources from struct_mutex") Signed-off-by: Rob Clark --- diff --git a/drivers/gpu/drm/msm/dsi/dsi_host.c b/drivers/gpu/drm/msm/dsi/dsi_host.c index 8baba30d6c65..c4d23d4c3631 100644 --- a/drivers/gpu/drm/msm/dsi/dsi_host.c +++ b/drivers/gpu/drm/msm/dsi/dsi_host.c @@ -1036,7 +1036,6 @@ static int dsi_tx_buf_alloc(struct msm_dsi_host *msm_host, int size) ret = msm_gem_get_iova(msm_host->tx_gem_obj, priv->kms->aspace, &iova); - mutex_unlock(&dev->struct_mutex); if (ret) { pr_err("%s: failed to get iova, %d\n", __func__, ret); return ret;