Skip to contentSkip to conversation

drm/sti: unbind all components while driver cleanup

PATCH New Vincent Abriou 1 participant 1 message Feb 3, 2017

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/sti: unbind all components while driver cleanup

Unbind all the components when the STI driver is unregistered.

---
 drivers/gpu/drm/sti/sti_drv.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/sti/sti_drv.c +1 -0
index e433853..60a41cc 100644
@@ -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;
 }
Signature · 6 lines
2.7.4

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel