Skip to contentSkip to conversation

drm/msm: remove unbalanced mutex unlock

PATCH Superseded Daniel Mack 1 participant 1 message Apr 5, 2018

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

PATCH 1/2 drm/msm: remove unbalanced mutex unlock

This regression stems from 0e08270a1f01 ("drm/msm: Separate locking of buffer resources from struct_mutex").

Cc Sushmita Susheelendra <[email protected]>
Cc Rob Clark <[email protected]>
Fixes 0e08270a1f01 ("drm/msm: Separate locking of buffer resources from struct_mutex")
---
 drivers/gpu/drm/msm/dsi/dsi_host.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/msm/dsi/dsi_host.c +0 -1
index 0f7324a686ca..27637d8a99ff 100644
@@ -994,7 +994,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;
Signature · 6 lines
2.14.3

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