Message ID | 63a8e05126c45e3064dbe83947fc34459a2d4a02.1457606136.git.moinejf@free.fr (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Hello. On 03/10/2016 12:56 PM, Jean-Francois Moine wrote: > Some DMA transfers, as for H3 audio, ask for 4 as a bust value. Burst? :-) > Signed-off-by: Jean-Francois Moine <moinejf@free.fr> [...] MBR, Sergei
diff --git a/drivers/dma/sun6i-dma.c b/drivers/dma/sun6i-dma.c index 3579ee7..7c98c0d 100644 --- a/drivers/dma/sun6i-dma.c +++ b/drivers/dma/sun6i-dma.c @@ -238,6 +238,8 @@ static inline s8 convert_burst(u32 maxburst) switch (maxburst) { case 1: return 0; + case 4: + return 1; case 8: return 2; default:
Some DMA transfers, as for H3 audio, ask for 4 as a bust value. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> --- drivers/dma/sun6i-dma.c | 2 ++ 1 file changed, 2 insertions(+)