Skip to content
Commit 49db68d4 authored by Emil Renner Berthing's avatar Emil Renner Berthing Committed by Vinod Koul
Browse files

dmaengine: dw-axi-dmac: Fix RMW on channel suspend register



When the DMA is configured for more than 8 channels the bits controlling
suspend moves to another register. However when adding support for this
the new register would be completely overwritten in one case and
overwritten with values from the old register in another case.

Found by comparing the parallel implementation of more than 8 channel
support for the StarFive JH7100 SoC by Samin.

Fixes: 82435166 ("dmaengine: dw-axi-dmac: support DMAX_NUM_CHANNELS > 8")
Co-developed-by: default avatarSamin Guo <samin.guo@starfivetech.com>
Signed-off-by: default avatarSamin Guo <samin.guo@starfivetech.com>
Signed-off-by: default avatarEmil Renner Berthing <kernel@esmil.dk>
Link: https://lore.kernel.org/r/20220627090939.1775717-1-emil.renner.berthing@canonical.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 44c4237c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment