Skip to content
Commit 312ff1c9 authored by Daniel Baluta's avatar Daniel Baluta Committed by Benjamin Cabé
Browse files

drivers: dma: sdma: Fix noise issue with pause/resume



Each time we configure an SDMA channel we also compute the total
allocated DMA buffer length but we assume is initialized with zero.

This is true each time a channel is requested. But if there are
multiple calls to configure without releasing the channel the buffer
length is not correctly computed.

So, we need to initialize it with zero each time we reconfigure the dma
channel.

Signed-off-by: default avatarDaniel Baluta <daniel.baluta@nxp.com>
parent 49990869
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment