diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-12-04 18:35:12 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-12-04 18:35:12 +0000 |
commit | b963cec01cea5bf75387ca69032f216c95773441 (patch) | |
tree | 1ae89c17d117115cd63961fc3da1055cd3964963 /target | |
parent | ae102742395fd55f6594e662c20f1328c2b31ee2 (diff) | |
download | mtk-20170518-b963cec01cea5bf75387ca69032f216c95773441.zip mtk-20170518-b963cec01cea5bf75387ca69032f216c95773441.tar.gz mtk-20170518-b963cec01cea5bf75387ca69032f216c95773441.tar.bz2 |
lantiq: fix xway spi driver timeout issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47767
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/lantiq/patches-4.1/0033-SPI-MIPS-lantiq-adds-spi-xway.patch | 2 |
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 7806f64..956dd10 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); |