Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b7e05db3 authored by Vincent Abriou's avatar Vincent Abriou
Browse files

drm/sti: unbind all components while driver cleanup



Unbind all the components when the STI driver is unregistered.

Signed-off-by: default avatarVincent Abriou <vincent.abriou@st.com>
parent e9f494d3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
}