]> git.openpandora.org Git - pandora-kernel.git/commitdiff
dmaengine: tegra-apb: Avoid unnecessary channel base address calculation
authorJon Hunter <jonathanh@nvidia.com>
Thu, 6 Aug 2015 13:32:31 +0000 (14:32 +0100)
committerVinod Koul <vinod.koul@intel.com>
Thu, 20 Aug 2015 06:40:17 +0000 (12:10 +0530)
Everytime a DMA channel register is accessed, the channel base address
is calculated by adding the DMA base address and the channel register
offset. Avoid this calculation and simply calculate the channel base
address once at probe time for each DMA channel.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>

No differences found