msm: mdss: fix the null check in framebuffer driver
Fix fb null check in framebuffer driver during atomic API call. Change-Id: I2b92cba0d106ce00dc94faa09b5c0cc869fd1678 Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
This commit is contained in:
parent
1183ae9f66
commit
e4d22fbab1
1 changed files with 1 additions and 1 deletions
|
@ -3177,7 +3177,7 @@ int mdss_fb_atomic_commit(struct fb_info *info,
|
|||
|
||||
if (!mfd || (!mfd->op_enable)) {
|
||||
pr_err("mfd is NULL or operation not permitted\n");
|
||||
goto end;
|
||||
return -EPERM;
|
||||
}
|
||||
|
||||
if ((mdss_fb_is_power_off(mfd)) &&
|
||||
|
|
Loading…
Add table
Reference in a new issue