From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Thu, 04 Jan 2024 10:08:02 +0000
Subject: [PATCH] disable FB

---
 kernel/drivers/media/platform/sti/delta/delta-ipc.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/kernel/drivers/media/platform/sti/delta/delta-ipc.c b/kernel/drivers/media/platform/sti/delta/delta-ipc.c
index a4603d5..186d88f 100644
--- a/kernel/drivers/media/platform/sti/delta/delta-ipc.c
+++ b/kernel/drivers/media/platform/sti/delta/delta-ipc.c
@@ -220,10 +220,8 @@
 
 err:
 	pctx->sys_errors++;
-	if (ctx->ipc_buf) {
-		hw_free(pctx, ctx->ipc_buf);
-		ctx->ipc_buf = NULL;
-	}
+	hw_free(pctx, ctx->ipc_buf);
+	ctx->ipc_buf = NULL;
 
 	return ret;
 };

--
Gitblit v1.6.2