Messages in this thread | | | From | Vinod Koul <> | Subject | Re: [PATCH] dmaengine: stm32-mdma: correct desc prep when channel running | Date | Mon, 16 Oct 2023 16:43:05 +0530 |
| |
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
| |