diff options
author | Paul Cercueil <paul@crapouillou.net> | 2019-12-10 17:55:45 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-12-11 16:25:58 +0530 |
commit | a40c94be2336f3002563c9ae16572143ae3422e2 (patch) | |
tree | bd3cbfdbe2d77a6a0e9c45fd4c58b1736231f635 | |
parent | 53a256a9b925b47c7e67fc1f16ca41561a7b877c (diff) | |
download | linux-stable-a40c94be2336f3002563c9ae16572143ae3422e2.tar.gz linux-stable-a40c94be2336f3002563c9ae16572143ae3422e2.tar.bz2 linux-stable-a40c94be2336f3002563c9ae16572143ae3422e2.zip |
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 f4c255f1a747 ("dmaengine: dma-jz4780:
Break descriptor chains on JZ4740").
Work around it by using the same workaround previously used for the
JZ4740.
Fixes commit f4c255f1a747 ("dmaengine: dma-jz4780: Break descriptor
chains on JZ4740")
Cc: <stable@vger.kernel.org>
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20191210165545.59690-1-paul@crapouillou.net
Signed-off-by: Vinod Koul <vkoul@kernel.org>
-rw-r--r-- | drivers/dma/dma-jz4780.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/dma/dma-jz4780.c b/drivers/dma/dma-jz4780.c index fa626acdc9b9..44af435628f8 100644 --- a/drivers/dma/dma-jz4780.c +++ b/drivers/dma/dma-jz4780.c @@ -999,7 +999,8 @@ static const struct jz4780_dma_soc_data jz4740_dma_soc_data = { static const struct jz4780_dma_soc_data jz4725b_dma_soc_data = { .nb_channels = 6, .transfer_ord_max = 5, - .flags = JZ_SOC_DATA_PER_CHAN_PM | JZ_SOC_DATA_NO_DCKES_DCKEC, + .flags = JZ_SOC_DATA_PER_CHAN_PM | JZ_SOC_DATA_NO_DCKES_DCKEC | + JZ_SOC_DATA_BREAK_LINKS, }; static const struct jz4780_dma_soc_data jz4770_dma_soc_data = { |