aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx/patches-3.18/420-mtd-bcm5301x_nand.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-04-16 20:09:36 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-04-16 20:09:36 +0000
commitf6cbbe1332ed953ebc3497ac9e45612ca60c1305 (patch)
treea3cf87d1bf73e44c2de5d9458b918ded6db8c954 /target/linux/bcm53xx/patches-3.18/420-mtd-bcm5301x_nand.patch
parent93fb3cac1b46bd290b3a52c3011d7ffc5d2e524b (diff)
downloadupstream-f6cbbe1332ed953ebc3497ac9e45612ca60c1305.tar.gz
upstream-f6cbbe1332ed953ebc3497ac9e45612ca60c1305.tar.bz2
upstream-f6cbbe1332ed953ebc3497ac9e45612ca60c1305.zip
bcm53xx: make NAND flash timeouts non-interruptible to fix corruption issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45464
Diffstat (limited to 'target/linux/bcm53xx/patches-3.18/420-mtd-bcm5301x_nand.patch')
-rw-r--r--target/linux/bcm53xx/patches-3.18/420-mtd-bcm5301x_nand.patch2
1 files changed, 1 insertions, 1 deletions
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 d690dd730b..199f1e5500 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)