Skip to content

Commit

Permalink
drm/exynos: fix exynos_drm_component_del
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Inki Dae committed Nov 25, 2014
1 parent be19d93 commit 33e2192
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/gpu/drm/exynos/exynos_drm_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -473,8 +473,6 @@ void exynos_drm_component_del(struct device *dev,
list_del(&cdev->list);
kfree(cdev);
}

break;
}

mutex_unlock(&drm_component_lock);
Expand Down

0 comments on commit 33e2192

Please sign in to comment.