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
This commit is contained in:
Felix Fietkau 2015-04-16 20:09:36 +00:00
parent 00ba2268e3
commit 6894bbd36f

View File

@ -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)