From f6cbbe1332ed953ebc3497ac9e45612ca60c1305 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 16 Apr 2015 20:09:36 +0000 Subject: [PATCH] bcm53xx: make NAND flash timeouts non-interruptible to fix corruption issues Signed-off-by: Felix Fietkau SVN-Revision: 45464 --- target/linux/bcm53xx/patches-3.18/420-mtd-bcm5301x_nand.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/bcm53xx/patches-3.18/420-mtd-bcm5301x_nand.patch b/target/linux/bcm53xx/patches-3.18/420-mtd-bcm5301x_nand.patch index d690dd730b6c..199f1e5500ad 100644 --- a/target/linux/bcm53xx/patches-3.18/420-mtd-bcm5301x_nand.patch +++ b/target/linux/bcm53xx/patches-3.18/420-mtd-bcm5301x_nand.patch @@ -662,7 +662,7 @@ + if (irq_off != NANDC_IRQ_CONTROLLER_RDY || + 0 == bcmnand_reg_aread(ctrl, NANDC_IDM_IO_CTRL_RDY)) { + -+ timeout_jiffies = wait_for_completion_interruptible_timeout( ++ timeout_jiffies = wait_for_completion_timeout( + &ctrl->op_completion, timeout_jiffies); + + if (timeout_jiffies < 0) -- 2.30.2