aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-12-04 18:35:12 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-12-04 18:35:12 +0000
commit1dd94785c65695e6d939ffbcd031d304c1d0f9f0 (patch)
treeb9a93f775780774620263d8f0281592529d4e8b8
parent916b5ee1f8e73ef21d93bd06d5705062903cad59 (diff)
downloadmaster-187ad058-1dd94785c65695e6d939ffbcd031d304c1d0f9f0.tar.gz
master-187ad058-1dd94785c65695e6d939ffbcd031d304c1d0f9f0.tar.bz2
master-187ad058-1dd94785c65695e6d939ffbcd031d304c1d0f9f0.zip
lantiq: fix xway spi driver timeout issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47767 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/lantiq/patches-4.1/0033-SPI-MIPS-lantiq-adds-spi-xway.patch2
1 files changed, 1 insertions, 1 deletions
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 <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);