lantiq: fix xway spi driver timeout issues
[openwrt/openwrt.git] / target / linux / lantiq / patches-4.1 / 0033-SPI-MIPS-lantiq-adds-spi-xway.patch
index 7806f6437024b17b7660467aa392656106a44dce..956dd1036809376a65eb99ff327e0b50c73001b6 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);