disp: msm: fix kw issues in sde driver

This change addresses out of range and null checks in
sde driver.

Change-Id: I905d795edf6715aa990dd7bbaf061734e95ddea6
Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
This commit is contained in:
Narendra Muppalla
2020-03-30 15:21:06 -07:00
والد f97e75d7ab
کامیت d6141f8472
4فایلهای تغییر یافته به همراه5 افزوده شده و 4 حذف شده

مشاهده پرونده

@@ -1808,7 +1808,7 @@ static int _sde_rm_get_hw_blk_for_cont_splash(struct sde_rm *rm,
}
while (_sde_rm_get_hw_locked(rm, &iter_dsc)) {
if (!ctl->ops.read_active_status &&
if (ctl->ops.read_active_status &&
!(ctl->ops.read_active_status(ctl,
SDE_HW_BLK_DSC,
iter_dsc.blk->id)))