* [PATCH] dmaengine: dma-jz4780: Also break descriptor chains on JZ4725B
@ 2019-12-10 16:55 Paul Cercueil
2019-12-11 10:56 ` Vinod Koul
0 siblings, 1 reply; 2+ messages in thread
From: Paul Cercueil @ 2019-12-10 16:55 UTC (permalink / raw)
To: Vinod Koul; +Cc: od, dmaengine, linux-kernel, Paul Cercueil, stable
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>
---
drivers/dma/dma-jz4780.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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 = {
--
2.24.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] dmaengine: dma-jz4780: Also break descriptor chains on JZ4725B
2019-12-10 16:55 [PATCH] dmaengine: dma-jz4780: Also break descriptor chains on JZ4725B Paul Cercueil
@ 2019-12-11 10:56 ` Vinod Koul
0 siblings, 0 replies; 2+ messages in thread
From: Vinod Koul @ 2019-12-11 10:56 UTC (permalink / raw)
To: Paul Cercueil; +Cc: od, dmaengine, linux-kernel, stable
On 10-12-19, 17:55, Paul Cercueil wrote:
> 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")
Applied, thanks
--
~Vinod
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-12-11 10:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-10 16:55 [PATCH] dmaengine: dma-jz4780: Also break descriptor chains on JZ4725B Paul Cercueil
2019-12-11 10:56 ` Vinod Koul
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).