Skip to content

Commit

Permalink
Revert "Revert "panel: update backlight status without holding ops_lo…
Browse files Browse the repository at this point in the history
…ck""

This reverts commit e58a323.
  • Loading branch information
tbalden committed Feb 6, 2020
1 parent 0303140 commit 5bd01d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/msm/dsi-staging/dsi_backlight.c
Original file line number Diff line number Diff line change
Expand Up @@ -941,8 +941,8 @@ int dsi_backlight_late_dpms(struct dsi_backlight_config *bl, int power_mode)
FB_BLANK_UNBLANK;
bd->props.state = state;

backlight_update_status(bd);
mutex_unlock(&bd->ops_lock);
backlight_update_status(bd);

return 0;
}
Expand Down

0 comments on commit 5bd01d3

Please sign in to comment.