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:
Dhaval Patel 2016-03-15 17:43:59 -07:00 committed by David Keitel
parent 1183ae9f66
commit e4d22fbab1

View file

@ -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)) &&