Skip to content
Commit af2eec75 authored by Olivier Dautricourt's avatar Olivier Dautricourt Committed by Vinod Koul
Browse files

dmaengine: altera-msgdma: make response port optional

The response slave port can be disabled in some configuration [1] and
csr + MSGDMA_CSR_RESP_FILL_LEVEL will be 0 even if transfer has suceeded.
We have to only rely on the interrupts in that scenario.
This was tested on cyclone V with the controller resp port disabled.

[1] https://www.intel.com/content/www/us/en/programmable/documentation/sfo1400787952932.html
30.3.1.2
30.3.1.3
30.5.5

Fixes: https://forum.rocketboards.org/t/ip-msgdma-linux-driver/1919


Signed-off-by: default avatarOlivier Dautricourt <olivier.dautricourt@orolia.com>
Reviewed-by: default avatarStefan Roese <sr@denx.de>
Link: https://lore.kernel.org/r/8220756f2191ca08cb21702252d1f2d4f753a7f5.1623898678.git.olivier.dautricourt@orolia.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 4aece33c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment