diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-04-16 20:09:36 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-04-16 20:09:36 +0000 |
commit | 6894bbd36f85c6f401ff105aedb09b17edf7d69a (patch) | |
tree | dc821ddb242baf70416781b8e02d30483619a3aa /target/linux/bcm53xx/patches-3.18/420-mtd-bcm5301x_nand.patch | |
parent | 00ba2268e30102b54412556c4bdcfda699bfa62a (diff) | |
download | upstream-6894bbd36f85c6f401ff105aedb09b17edf7d69a.tar.gz upstream-6894bbd36f85c6f401ff105aedb09b17edf7d69a.tar.bz2 upstream-6894bbd36f85c6f401ff105aedb09b17edf7d69a.zip |
bcm53xx: make NAND flash timeouts non-interruptible to fix corruption issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45464 3c298f89-4303-0410-b956-a3cf2f4a3e73
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.patch | 2 |
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) |