Re: [PATCH v4] dmaengine: tegra-apb: proper default init of channel slave_id

From: Jon Hunter
Date: Mon Apr 25 2016 - 07:29:51 EST



On 23/04/16 10:36, Shardar Shariff Md wrote:
> 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@xxxxxxxxxx>

Thanks for the update. I have tested this on Tegra124 using the serial
port with DMA.

Reviewed-by: Jon Hunter <jonathanh@xxxxxxxxxx>
Tested-by: Jon Hunter <jonathanh@xxxxxxxxxx>

Cheers
Jon