Skip to contentSkip to conversation

drm/exynos: fix exynos_drm_component_del

PATCH New Inki Dae 1 participant 1 message Nov 24, 2014

Subsystems (3)
lore
Share & tools
lore

Inki Dae

author maintainer
#0 lore raw

PATCH 1/1 drm/exynos: fix exynos_drm_component_del

This patch resolves the issue that component object isn't removed correctly.

A given component object couldn't be placed to head of drm_component_list so all component objects added to the drm_component_list should be checked to remove the given component object.

---
 drivers/gpu/drm/exynos/exynos_drm_drv.c |    2 --
 1 file changed, 2 deletions(-)
drivers/gpu/drm/exynos/exynos_drm_drv.c +0 -2
index c5cb8b6..0e4813b 100644
@@ -473,8 +473,6 @@ void exynos_drm_component_del(struct device *dev,
 			list_del(&cdev->list);
 			kfree(cdev);
 		}
-
-		break;
 	}
 
 	mutex_unlock(&drm_component_lock);
Signature · 1 line
1.7.9.5