diff options
author | Gary King <gking@nvidia.com> | 2010-05-16 12:35:51 -0700 |
---|---|---|
committer | Gary King <gking@nvidia.com> | 2010-05-16 12:35:51 -0700 |
commit | 0700ad46de5d70736987b47a20f0182717b0d2da (patch) | |
tree | dd32639ac1aaab620f06c77809864234a84f903a /arch/arm/mach-tegra/nvrm | |
parent | 5e9200d61f71845ca41601c7ad65147a5ec53673 (diff) |
[ARM/tegra] nvrm: use direct APB DMA IRQs, not cascaded IRQs
Change-Id: If71d82ad705beca7699a05ff4add5584d14abdbe
Diffstat (limited to 'arch/arm/mach-tegra/nvrm')
-rw-r--r-- | arch/arm/mach-tegra/nvrm/io/ap15/nvrm_dma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/nvrm/io/ap15/nvrm_dma.c b/arch/arm/mach-tegra/nvrm/io/ap15/nvrm_dma.c index a08f1d47a98b..9d259884c7a8 100644 --- a/arch/arm/mach-tegra/nvrm/io/ap15/nvrm_dma.c +++ b/arch/arm/mach-tegra/nvrm/io/ap15/nvrm_dma.c @@ -134,6 +134,7 @@ #include "nvassert.h" #include "nvrm_priv_ap_general.h" #include "mach/nvrm_linux.h" +#include <mach/irqs.h> /* FIXME move these to some header file */ NvError NvRmPrivDmaInit(NvRmDeviceHandle hDevice); @@ -971,7 +972,6 @@ static void ApbDmaIsr(void *args) */ static NvError RegisterAllDmaInterrupt(NvRmDeviceHandle hDevice) { - NvRmModuleID ModuleId = NvRmPrivModuleID_ApbDma; NvError Error = NvSuccess; NvOsInterruptHandler DmaIntHandler = ApbDmaIsr; NvU32 Irq = 0; @@ -987,7 +987,7 @@ static NvError RegisterAllDmaInterrupt(NvRmDeviceHandle hDevice) /* Register same interrupt hanlder for all APB DMA channels. */ for (i=0; i < NvRmDmaUnreservedChannels(); i++) { - Irq = NvRmGetIrqForLogicalInterrupt(hDevice, ModuleId, i); + Irq = INT_APB_DMA_CH0 + i; Error = NvRmInterruptRegister(hDevice, 1, &Irq, &DmaIntHandler, &s_DmaInfo.pListApbDmaChannel[i], &(s_DmaInfo.pListApbDmaChannel[i].hIntrHandle), NV_TRUE); |