aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChuhong Yuan <hslester96@gmail.com>2019-11-18 19:39:55 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-12 12:21:41 +0100
commit2ad182a9d06e6eaa1f32dc77f252d5e7460dc532 (patch)
tree0a8575b2aeefbb09e74eba6464515d628420a372
parent4d0f70fca09fd0fc5deca739392967526b786f73 (diff)
downloadlinux-yocto-2ad182a9d06e6eaa1f32dc77f252d5e7460dc532.tar.gz
linux-yocto-2ad182a9d06e6eaa1f32dc77f252d5e7460dc532.tar.bz2
linux-yocto-2ad182a9d06e6eaa1f32dc77f252d5e7460dc532.zip
drm/exynos: gsc: add missed component_del
[ Upstream commit 84c92365b20a44c363b95390ea00dfbdd786f031 ] The driver forgets to call component_del in remove to match component_add in probe. Add the missed call to fix it. Signed-off-by: Chuhong Yuan <hslester96@gmail.com> Signed-off-by: Inki Dae <inki.dae@samsung.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_gsc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_gsc.c b/drivers/gpu/drm/exynos/exynos_drm_gsc.c
index 7ae087b0504d..88b6fcaa20be 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_gsc.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_gsc.c
@@ -1313,6 +1313,7 @@ static int gsc_remove(struct platform_device *pdev)
{
struct device *dev = &pdev->dev;
+ component_del(dev, &gsc_component_ops);
pm_runtime_dont_use_autosuspend(dev);
pm_runtime_disable(dev);