diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c index b2dda0cf87f0..90d5fda7e73d 100644 --- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c +++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c @@ -4439,6 +4439,8 @@ void dw_hdmi_remove(struct dw_hdmi *hdmi) hdmi_writeb(hdmi, ~0, HDMI_IH_MUTE_PHY_STAT0); dw_hdmi_destroy_properties(hdmi); + hdmi->connector.funcs->destroy(&hdmi->connector); + hdmi->bridge.encoder->funcs->destroy(hdmi->bridge.encoder); clk_disable_unprepare(hdmi->iahb_clk); clk_disable_unprepare(hdmi->isfr_clk);