[PATCH] dmaengine: stm32-mdma: correct desc prep when channel running
Vinod Koul
vkoul at kernel.org
Mon Oct 16 04:13:05 PDT 2023
On Mon, 09 Oct 2023 10:24:50 +0200, Amelie Delaunay wrote:
> In case of the prep descriptor while the channel is already running, the
> CCR register value stored into the channel could already have its EN bit
> set. This would lead to a bad transfer since, at start transfer time,
> enabling the channel while other registers aren't yet properly set.
> To avoid this, ensure to mask the CCR_EN bit when storing the ccr value
> into the mdma channel structure.
>
> [...]
Applied, thanks!
[1/1] dmaengine: stm32-mdma: correct desc prep when channel running
commit: 03f25d53b145bc2f7ccc82fc04e4482ed734f524
Best regards,
--
~Vinod
More information about the linux-arm-kernel
mailing list