projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
i[amazon] use SYS_HAS_EARLY_PRINTK instead of prom_printf
[openwrt-10.03/.git]
/
target
/
linux
/
amazon
/
files
/
arch
/
mips
/
amazon
/
dma-core.c
diff --git
a/target/linux/amazon/files/arch/mips/amazon/dma-core.c
b/target/linux/amazon/files/arch/mips/amazon/dma-core.c
index 242bc77af21327cea59bae82a3ce7dbe17b30f76..6362895f876251c7c085a335c7ff19ae206741f9 100644
(file)
--- a/
target/linux/amazon/files/arch/mips/amazon/dma-core.c
+++ b/
target/linux/amazon/files/arch/mips/amazon/dma-core.c
@@
-1387,7
+1387,7
@@
static int dma_init(void)
AMAZON_DMA_EMSG("cannot register device dma-core!\n");
return result;
}
AMAZON_DMA_EMSG("cannot register device dma-core!\n");
return result;
}
- result = request_irq(AMAZON_DMA_INT, dma_interrupt,
SA_INTERRUPT
, "dma-core", (void *) &dma_interrupt);
+ result = request_irq(AMAZON_DMA_INT, dma_interrupt,
IRQF_DISABLED
, "dma-core", (void *) &dma_interrupt);
if (result) {
AMAZON_DMA_EMSG("error, cannot get dma_irq!\n");
free_irq(AMAZON_DMA_INT, (void *) &dma_interrupt);
if (result) {
AMAZON_DMA_EMSG("error, cannot get dma_irq!\n");
free_irq(AMAZON_DMA_INT, (void *) &dma_interrupt);