瀏覽代碼

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.

Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae 11 年之前
父節點
當前提交
33e2192fb1
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      drivers/gpu/drm/exynos/exynos_drm_drv.c

+ 0 - 2
drivers/gpu/drm/exynos/exynos_drm_drv.c

@@ -473,8 +473,6 @@ void exynos_drm_component_del(struct device *dev,
 			list_del(&cdev->list);
 			kfree(cdev);
 		}
-
-		break;
 	}
 
 	mutex_unlock(&drm_component_lock);