From ea2884e018a61a1d45ed9b7cfc916be35c3198e1 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Thu, 16 Jul 2020 09:14:49 +0200 Subject: [PATCH] mediatek: minor fix to eip97 driver This patch makes the driver work on the newer v2.3 core. Signed-off-by: John Crispin --- .../0501-crypto-add-eip97-inside-secure-support.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/mediatek/patches-5.4/0501-crypto-add-eip97-inside-secure-support.patch b/target/linux/mediatek/patches-5.4/0501-crypto-add-eip97-inside-secure-support.patch index 98cb0b16ff..3eda4f291a 100644 --- a/target/linux/mediatek/patches-5.4/0501-crypto-add-eip97-inside-secure-support.patch +++ b/target/linux/mediatek/patches-5.4/0501-crypto-add-eip97-inside-secure-support.patch @@ -5,11 +5,11 @@ writel(val, EIP197_HIA_AIC(priv) + EIP197_HIA_MST_CTRL); } + /* -+ * Set maximum number of TX commands to 2^5 = 32 for EIP97 HW2.1 ++ * Set maximum number of TX commands to 2^4 = 16 for EIP97 HW2.1/HW2.3 + */ + else { + val = 0; -+ val |= EIP97_MST_CTRL_TX_MAX_CMD(5); ++ val |= EIP97_MST_CTRL_TX_MAX_CMD(4); + writel(val, EIP197_HIA_AIC(priv) + EIP197_HIA_MST_CTRL); + } -- 2.30.2