[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YaXupH+h2PU+YUlA@ninjato>
Date: Tue, 30 Nov 2021 10:28:04 +0100
From: Wolfram Sang <wsa@...nel.org>
To: Alain Volmat <alain.volmat@...s.st.com>
Cc: pierre-yves.mordret@...s.st.com, alexandre.torgue@...s.st.com,
linux-i2c@...r.kernel.org,
linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
fabrice.gasnier@...s.st.com, amelie.delaunay@...s.st.com
Subject: Re: [PATCH 4/4] i2c: stm32f7: use proper DMAENGINE API for
termination
On Mon, Sep 20, 2021 at 05:21:32PM +0200, Alain Volmat wrote:
> dmaengine_terminate_all() is deprecated in favor of explicitly saying if
> it should be sync or async. Here, we use dmaengine_terminate_sync in
> i2c_xfer and i2c_smbus_xfer handlers and rely on
> dmaengine_terminate_async within interrupt handlers
> (transmission error cases).
> dmaengine_synchronize is added within i2c_xfer and i2c_smbus_xfer handler
> to finalize terminate started in interrupt handlers.
>
> Signed-off-by: Alain Volmat <alain.volmat@...s.st.com>
Applied to for-current, thanks!
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists