dmaengine: tegra-apb: proper default init of channel slave_id
authorShardar Shariff Md <smohammed@nvidia.com>
Sat, 23 Apr 2016 09:36:00 +0000 (15:06 +0530)
committerVinod Koul <vinod.koul@intel.com>
Mon, 2 May 2016 09:53:56 +0000 (15:23 +0530)
commit00ef4490ebfa417094014d19b1e56fde0b6c1685
tree7b751757e49eff248bf11d7ffe02e8ad005be73e
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca
dmaengine: tegra-apb: proper default init of channel slave_id

Initialize default channel slave_id(req_sel) to invalid id
(i.e max supported slave id + 1) to avoid overwriting of slave_id
during tegra_dma_slave_config() with client data if slave_id
is not initialized through DT

Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/tegra20-apb-dma.c
This page took 0.024809 seconds and 5 git commands to generate.