Re: [PATCH for-stable] dmaengine: stm32-dma: fix incomplete configuration in cyclic mode

From: Greg KH
Date: Sat Nov 10 2018 - 22:25:32 EST


On Tue, Oct 16, 2018 at 05:00:03PM -0700, Joel Fernandes (Google) wrote:
> From: Pierre Yves MORDRET <pierre-yves.mordret@xxxxxx>
>
> commit e57cb3b3f10d005410f09d4598cc6d62b833f2b0 upstream.
>
> When in cyclic mode, the configuration is updated after having started the
> DMA hardware (STM32_DMA_SCR_EN) leading to incomplete configuration of
> SMxAR registers.
>
> Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@xxxxxx>
> Signed-off-by: Hugues Fruchet <hugues.fruchet@xxxxxx>
> Signed-off-by: Vinod Koul <vinod.koul@xxxxxxxxx>
> ---
> drivers/dma/stm32-dma.c | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-)

I'm just guessing you want this for 4.14.y? I've added it there. If
not, please give me a hint :)