lantiq: fix xway spi driver timeout issues
authorFelix Fietkau <nbd@openwrt.org>
Fri, 4 Dec 2015 18:35:12 +0000 (18:35 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 4 Dec 2015 18:35:12 +0000 (18:35 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47767

target/linux/lantiq/patches-4.1/0033-SPI-MIPS-lantiq-adds-spi-xway.patch

index 7806f64..956dd10 100644 (file)
@@ -803,7 +803,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
 +
 +      /* Enable TX or RX interrupts */
 +      ltq_spi_reg_setbit(hw, irq_flags, LTQ_SPI_IRNEN);
-+      wait_for_completion_interruptible(&hw->done);
++      wait_for_completion(&hw->done);
 +
 +      /* Disable all interrupts */
 +      ltq_spi_reg_clearbit(hw, LTQ_SPI_IRNEN_ALL, LTQ_SPI_IRNEN);