drm/exynos: fix exynos_drm_component_del
authorInki Dae <inki.dae@samsung.com>
Mon, 24 Nov 2014 07:58:48 +0000 (16:58 +0900)
committerInki Dae <inki.dae@samsung.com>
Tue, 25 Nov 2014 02:58:27 +0000 (11:58 +0900)
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>
drivers/gpu/drm/exynos/exynos_drm_drv.c

index 495826f..d71fb54 100644 (file)
@@ -473,8 +473,6 @@ void exynos_drm_component_del(struct device *dev,
                        list_del(&cdev->list);
                        kfree(cdev);
                }
-
-               break;
        }
 
        mutex_unlock(&drm_component_lock);