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/gpu/drm/bridge/synopsys/dw-hdmi-hdcp.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/kernel/drivers/gpu/drm/bridge/synopsys/dw-hdmi-hdcp.c b/kernel/drivers/gpu/drm/bridge/synopsys/dw-hdmi-hdcp.c
index 314e9a9..24aab50 100644
--- a/kernel/drivers/gpu/drm/bridge/synopsys/dw-hdmi-hdcp.c
+++ b/kernel/drivers/gpu/drm/bridge/synopsys/dw-hdmi-hdcp.c
@@ -13,7 +13,6 @@
  */
 
 #include <linux/clk.h>
-#include <linux/cryptohash.h>
 #include <linux/delay.h>
 #include <linux/err.h>
 #include <linux/hdmi.h>
@@ -25,6 +24,7 @@
 #include <linux/of_device.h>
 #include <linux/spinlock.h>
 #include <linux/soc/rockchip/rk_vendor_storage.h>
+#include <crypto/sha.h>
 #include <drm/bridge/dw_hdmi.h>
 
 #include "dw-hdmi.h"
@@ -149,14 +149,14 @@
 	for (i = 0; i < sizeof(sha->mlength); i++)
 		sha->mlength[i] = 0;
 
-	sha_init(sha->mdigest);
+	sha1_init(sha->mdigest);
 }
 
 static void sha_processblock(struct sha_t *sha)
 {
-	u32 array[SHA_WORKSPACE_WORDS];
+	u32 array[SHA1_WORKSPACE_WORDS];
 
-	sha_transform(sha->mdigest, sha->mblock, array);
+	sha1_transform(sha->mdigest, sha->mblock, array);
 	sha->mindex = 0;
 }
 

--
Gitblit v1.6.2