bcm53xx: make NAND flash timeouts non-interruptible to fix corruption issues
authorFelix Fietkau <nbd@openwrt.org>
Thu, 16 Apr 2015 20:09:36 +0000 (20:09 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 16 Apr 2015 20:09:36 +0000 (20:09 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45464

target/linux/bcm53xx/patches-3.18/420-mtd-bcm5301x_nand.patch

index d690dd730b6c09039821719e50486844d746aad3..199f1e5500ada6864f2b4372f031edeae59860f5 100644 (file)
 +      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)