Skip to content
Snippets Groups Projects
Commit b963cec0 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

lantiq: fix xway spi driver timeout issues


Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>

SVN-Revision: 47767
parent ae102742
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment