Skip to content

Commit

Permalink
drm/rockchip: dsi: fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
scpcom committed May 19, 2022
1 parent 8f4621f commit 3edb653
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,8 @@ struct dw_mipi_dsi {

const struct dw_mipi_dsi_plat_data *pdata;
struct rockchip_drm_sub_dev sub_dev;

bool dsi_bound;
};

static inline struct dw_mipi_dsi *host_to_dsi(struct mipi_dsi_host *host)
Expand Down Expand Up @@ -1574,6 +1576,8 @@ static void dw_mipi_dsi_unbind(struct device *dev, struct device *master,
if (dsi->panel)
drm_panel_detach(dsi->panel);

dsi->dsi_bound = false;

dsi->connector.funcs->destroy(&dsi->connector);
dsi->encoder.funcs->destroy(&dsi->encoder);
}
Expand Down

0 comments on commit 3edb653

Please sign in to comment.