diff options
author | Iliyan Malchev <malchev@google.com> | 2010-08-20 10:22:10 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:36:34 -0800 |
commit | c72d45ad5480715b47554a6e4779b4bc199d975b (patch) | |
tree | 62c80c6a068d575854d8b403cf7a0221e6105a54 /arch/arm/mach-tegra/dma.c | |
parent | 545c1de04a3fdf2afd74d5f0126c938bcd906f40 (diff) |
[ARM] tegra: dma: switch to nonthreaded interrupts
Signed-off-by: Iliyan Malchev <malchev@google.com>
Diffstat (limited to 'arch/arm/mach-tegra/dma.c')
-rw-r--r-- | arch/arm/mach-tegra/dma.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/arch/arm/mach-tegra/dma.c b/arch/arm/mach-tegra/dma.c index c2b31452a5e7..010cb9732ed7 100644 --- a/arch/arm/mach-tegra/dma.c +++ b/arch/arm/mach-tegra/dma.c @@ -681,19 +681,11 @@ static irqreturn_t dma_isr(int irq, void *data) pr_warning("Got a spurious ISR for DMA channel %d\n", ch->id); return IRQ_HANDLED; } - return IRQ_WAKE_THREAD; -} - -static irqreturn_t dma_thread_fn(int irq, void *data) -{ - struct tegra_dma_channel *ch = data; if (ch->mode & TEGRA_DMA_MODE_ONESHOT) handle_oneshot_dma(ch); else handle_continuous_dma(ch); - - return IRQ_HANDLED; } @@ -738,8 +730,7 @@ int __init tegra_dma_init(void) INIT_LIST_HEAD(&ch->list); irq = INT_APB_DMA_CH0 + i; - ret = request_threaded_irq(irq, dma_isr, dma_thread_fn, 0, - dma_channels[i].name, ch); + ret = request_irq(irq, dma_isr, 0, dma_channels[i].name, ch); if (ret) { pr_err("Failed to register IRQ %d for DMA %d\n", irq, i); |