projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1eef1c
)
drm/exynos: gsc: add missed component_del
author
Chuhong Yuan
<hslester96@gmail.com>
Mon, 18 Nov 2019 11:39:55 +0000
(19:39 +0800)
committer
Inki Dae
<inki.dae@samsung.com>
Wed, 18 Dec 2019 23:52:42 +0000
(08:52 +0900)
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>
drivers/gpu/drm/exynos/exynos_drm_gsc.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/exynos/exynos_drm_gsc.c
b/drivers/gpu/drm/exynos/exynos_drm_gsc.c
index
7ae087b
..
88b6fca
100644
(file)
--- 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);