Skip to content

Commit a40c94b

Browse files
pcercueivinodkoul
authored andcommitted
dmaengine: dma-jz4780: Also break descriptor chains on JZ4725B
It turns out that the JZ4725B displays the same buggy behaviour as the JZ4740 that was described in commit f4c255f ("dmaengine: dma-jz4780: Break descriptor chains on JZ4740"). Work around it by using the same workaround previously used for the JZ4740. Fixes commit f4c255f ("dmaengine: dma-jz4780: Break descriptor chains on JZ4740") Cc: <[email protected]> Signed-off-by: Paul Cercueil <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 53a256a commit a40c94b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/dma/dma-jz4780.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -999,7 +999,8 @@ static const struct jz4780_dma_soc_data jz4740_dma_soc_data = {
999999
static const struct jz4780_dma_soc_data jz4725b_dma_soc_data = {
10001000
.nb_channels = 6,
10011001
.transfer_ord_max = 5,
1002-
.flags = JZ_SOC_DATA_PER_CHAN_PM | JZ_SOC_DATA_NO_DCKES_DCKEC,
1002+
.flags = JZ_SOC_DATA_PER_CHAN_PM | JZ_SOC_DATA_NO_DCKES_DCKEC |
1003+
JZ_SOC_DATA_BREAK_LINKS,
10031004
};
10041005

10051006
static const struct jz4780_dma_soc_data jz4770_dma_soc_data = {

0 commit comments

Comments
 (0)