Revert "disp: msm: sde: fix null pointer dereference issue"

This reverts commit b2f3452dbe.
Change-Id: I3b7dbb75b954a5b6b20c7186ac2a333d21de0fce
Signed-off-by: Nikhil Tarte <quic_ntarte@quicinc.com>
This commit is contained in:
ntarte
2022-09-20 12:09:12 +05:30
parent 769e9693c7
commit 543b4d62d4

View File

@@ -1828,7 +1828,7 @@ static void _sde_cp_dspp_flush_helper(struct sde_crtc *sde_crtc, u32 feature)
for (i = 0; i < num_mixers; i++) {
ctl = sde_crtc->mixers[i].hw_ctl;
dspp = sde_crtc->mixers[i].hw_dspp;
if (ctl && dspp && ctl->ops.update_bitmask_dspp_subblk) {
if (ctl && ctl->ops.update_bitmask_dspp_subblk) {
if (feature == SDE_CP_CRTC_DSPP_SB) {
if (!dspp->sb_dma_in_use)
continue;