projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9f494d
)
drm/sti: unbind all components while driver cleanup
author
Vincent Abriou
<vincent.abriou@st.com>
Thu, 2 Feb 2017 08:51:43 +0000
(09:51 +0100)
committer
Vincent Abriou
<vincent.abriou@st.com>
Fri, 10 Feb 2017 08:34:39 +0000
(09:34 +0100)
Unbind all the components when the STI driver is unregistered.
Signed-off-by: Vincent Abriou <vincent.abriou@st.com>
drivers/gpu/drm/sti/sti_drv.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/sti/sti_drv.c
b/drivers/gpu/drm/sti/sti_drv.c
index 9e4d96f7dd1c9375087e626dc0fd6a4031cc1124..7cdccb05ee806fd0c9d8c1f69cb53bd5bba04e07 100644
(file)
--- a/
drivers/gpu/drm/sti/sti_drv.c
+++ b/
drivers/gpu/drm/sti/sti_drv.c
@@
-255,6
+255,7
@@
static void sti_cleanup(struct drm_device *ddev)
drm_kms_helper_poll_fini(ddev);
drm_vblank_cleanup(ddev);
+ component_unbind_all(ddev->dev, ddev);
kfree(private);
ddev->dev_private = NULL;
}