commit | 13a3328638dd009e76d4bb86e18dc8f3ae4f11dd | [log] [tgz] |
---|---|---|
author | Jon Hunter <jonathanh@nvidia.com> | Thu Aug 06 14:32:31 2015 +0100 |
committer | Vinod Koul <vinod.koul@intel.com> | Thu Aug 20 12:10:17 2015 +0530 |
tree | 4e4a3f5fc13278dc03cf3c9c35583935b0bdfb80 | |
parent | c67886f5b809cfd9dc20f906f38fc0eddc7cba93 [diff] |
dmaengine: tegra-apb: Avoid unnecessary channel base address calculation 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>