summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-at91-5.4.199/linux-5.4-addl-time-for-pmeccerrloc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-at91-5.4.199/linux-5.4-addl-time-for-pmeccerrloc.patch')
-rw-r--r--recipes-kernel/linux/linux-at91-5.4.199/linux-5.4-addl-time-for-pmeccerrloc.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-at91-5.4.199/linux-5.4-addl-time-for-pmeccerrloc.patch b/recipes-kernel/linux/linux-at91-5.4.199/linux-5.4-addl-time-for-pmeccerrloc.patch
new file mode 100644
index 0000000..7077a03
--- /dev/null
+++ b/recipes-kernel/linux/linux-at91-5.4.199/linux-5.4-addl-time-for-pmeccerrloc.patch
@@ -0,0 +1,25 @@
+From bf403e15e724dfe4a319b9e2bcd7e9aad558d27d Mon Sep 17 00:00:00 2001
+From: Mykyta Dorokhin <mykyta.dorokhin@globallogic.com>
+Date: Fri, 1 Jan 2021 03:07:05 +0200
+Subject: [PATCH] linux-5.6-addl-time-for-pmeccerrloc
+
+---
+ drivers/mtd/nand/raw/atmel/pmecc.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/mtd/nand/raw/atmel/pmecc.c b/drivers/mtd/nand/raw/atmel/pmecc.c
+index e1c5459..01e4729 100644
+--- a/drivers/mtd/nand/raw/atmel/pmecc.c
++++ b/drivers/mtd/nand/raw/atmel/pmecc.c
+@@ -64,7 +64,7 @@
+ #define PMECC_LOOKUP_TABLE_SIZE_1024 0x4000
+
+ /* Time out value for reading PMECC status register */
+-#define PMECC_MAX_TIMEOUT_MS 100
++#define PMECC_MAX_TIMEOUT_MS 300
+
+ /* PMECC Register Definitions */
+ #define ATMEL_PMECC_CFG 0x0
+--
+1.9.1
+