summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2019-05-22 10:38:06 -0400
committerSolomon Peachy <pizza@shaftnet.org>2019-06-02 13:09:19 +0200
commit1e076a7be85efc457a97a4a86d6e95dd870a5e69 (patch)
treea3c0c70edaa2841a655da542458c640ffdf6baf8 /firmware
parente85a3ba518c272daf9c0246872822fdde34754a6 (diff)
downloadrockbox-1e076a7be85efc457a97a4a86d6e95dd870a5e69.tar.gz
rockbox-1e076a7be85efc457a97a4a86d6e95dd870a5e69.tar.bz2
rockbox-1e076a7be85efc457a97a4a86d6e95dd870a5e69.zip
jz7460: Disable IRQ-driven DMA transfers.
This greatly increases the stability of SD card write operations. (I suspect the underlying problem is not IRQ operation itself, instead being exacerbated by it..) Change-Id: Ia00f0656abd4b3cb0b1b5fc9db7c1b6a02847956
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/ata-sd-jz4760.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4760.c b/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4760.c
index 680a2a6823..a672bb8b82 100644
--- a/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4760.c
+++ b/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4760.c
@@ -31,7 +31,7 @@
#include "string.h"
#define SD_DMA_ENABLE 1
-#define SD_DMA_INTERRUPT 1
+#define SD_DMA_INTERRUPT 0
#if NUM_DRIVES > 2
#error "JZ4760 SD driver supports NUM_DRIVES <= 2 only"