[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <169683196592.44135.17868056770840545307.b4-ty@kernel.org>
Date: Mon, 09 Oct 2023 11:42:45 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Maxime Coquelin <mcoquelin.stm32@...il.com>,
Alexandre Torgue <alexandre.torgue@...s.st.com>,
M'boumba Cedric Madianga <cedric.madianga@...il.com>,
Pierre-Yves MORDRET <pierre-yves.mordret@...com>,
Amelie Delaunay <amelie.delaunay@...s.st.com>
Cc: stable@...r.kernel.org, dmaengine@...r.kernel.org,
linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/3] dmaengine: stm32-mdma: abort resume if no ongoing
transfer
On Wed, 04 Oct 2023 18:35:28 +0200, Amelie Delaunay wrote:
> chan->desc can be null, if transfer is terminated when resume is called,
> leading to a NULL pointer when retrieving the hwdesc.
> To avoid this case, check that chan->desc is not null and channel is
> disabled (transfer previously paused or terminated).
>
>
Applied, thanks!
[1/3] dmaengine: stm32-mdma: abort resume if no ongoing transfer
commit: 81337b9a72dc58a5fa0ae8a042e8cb59f9bdec4a
[2/3] dmaengine: stm32-mdma: use Link Address Register to compute residue
commit: a4b306eb83579c07b63dc65cd5bae53b7b4019d0
[3/3] dmaengine: stm32-mdma: set in_flight_bytes in case CRQA flag is set
commit: 584970421725b7805db84714b857851fdf7203a9
Best regards,
--
~Vinod
Powered by blists - more mailing lists