Skip to content

Commit

Permalink
drm/bridge/synopsys: dsi: missing post disable
Browse files Browse the repository at this point in the history
Sometime the post_disable function is missing (not registered).

Signed-off-by: Yannick Fertré <[email protected]>
Reviewed-by: Philippe Cornu <[email protected]>
Signed-off-by: Neil Armstrong <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
  • Loading branch information
YFESTM authored and superna9999 committed Feb 10, 2020
1 parent efaede7 commit 7ca0116
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,8 @@ static void dw_mipi_dsi_bridge_post_disable(struct drm_bridge *bridge)
* This needs to be fixed in the drm_bridge framework and the API
* needs to be updated to manage our own call chains...
*/
dsi->panel_bridge->funcs->post_disable(dsi->panel_bridge);
if (dsi->panel_bridge->funcs->post_disable)
dsi->panel_bridge->funcs->post_disable(dsi->panel_bridge);

if (phy_ops->power_off)
phy_ops->power_off(dsi->plat_data->priv_data);
Expand Down

0 comments on commit 7ca0116

Please sign in to comment.