From 7b02c6d146c0617d85ef7b0e1ae26b4e3c820989 Mon Sep 17 00:00:00 2001 From: Bruce Levy Date: Tue, 6 Sep 2022 18:48:38 -0700 Subject: [PATCH] Revert "disp: msm: sde: add check to avoid NULL WB output fb" This reverts commit e46400196ad4f8333d4eb0ea402c2775a216b059. Change-Id: Iee38893a5a36cf1439b97aa494b069d1f525a55e Signed-off-by: Bruce Levy --- msm/sde/sde_encoder_phys_wb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/msm/sde/sde_encoder_phys_wb.c b/msm/sde/sde_encoder_phys_wb.c index f1fa5243..cd7ce4b0 100644 --- a/msm/sde/sde_encoder_phys_wb.c +++ b/msm/sde/sde_encoder_phys_wb.c @@ -1024,8 +1024,8 @@ static int sde_encoder_phys_wb_atomic_check(struct sde_encoder_phys *phys_enc, /* bypass check if commit with no framebuffer */ fb = sde_wb_connector_state_get_output_fb(conn_state); if (!fb) { - SDE_ERROR("[enc:%d wb:%d] no out fb\n", DRMID(phys_enc->parent), WBID(wb_enc)); - return -EINVAL; + SDE_DEBUG("[enc:%d wb:%d] no out fb\n", DRMID(phys_enc->parent), WBID(wb_enc)); + return 0; } fmt = sde_get_sde_format_ext(fb->format->format, fb->modifier);