From: Felix Fietkau Date: Fri, 4 Dec 2015 18:35:12 +0000 (+0000) Subject: lantiq: fix xway spi driver timeout issues X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b963cec01cea5bf75387ca69032f216c95773441;p=openwrt%2Fstaging%2Fynezz.git lantiq: fix xway spi driver timeout issues Signed-off-by: Felix Fietkau SVN-Revision: 47767 --- diff --git a/target/linux/lantiq/patches-4.1/0033-SPI-MIPS-lantiq-adds-spi-xway.patch b/target/linux/lantiq/patches-4.1/0033-SPI-MIPS-lantiq-adds-spi-xway.patch index 7806f64370..956dd10368 100644 --- a/target/linux/lantiq/patches-4.1/0033-SPI-MIPS-lantiq-adds-spi-xway.patch +++ b/target/linux/lantiq/patches-4.1/0033-SPI-MIPS-lantiq-adds-spi-xway.patch @@ -803,7 +803,7 @@ Signed-off-by: John Crispin + + /* 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);