Author: nbd Date: 2015-04-16 22:09:36 +0200 (Thu, 16 Apr 2015) New Revision: 45464
Modified: trunk/target/linux/bcm53xx/patches-3.18/420-mtd-bcm5301x_nand.patch Log: bcm53xx: make NAND flash timeouts non-interruptible to fix corruption issues Signed-off-by: Felix Fietkau <[email protected]> Modified: trunk/target/linux/bcm53xx/patches-3.18/420-mtd-bcm5301x_nand.patch =================================================================== --- trunk/target/linux/bcm53xx/patches-3.18/420-mtd-bcm5301x_nand.patch 2015-04-16 20:09:30 UTC (rev 45463) +++ trunk/target/linux/bcm53xx/patches-3.18/420-mtd-bcm5301x_nand.patch 2015-04-16 20:09:36 UTC (rev 45464) @@ -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) _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
