Re: [PATCH v3] i2c: stm32f7: Add atomic_xfer method to driver

Wolfram Sang
2023-09-27T19:29:09Z

[-- Attachment #1: Type: text/plain, Size: 596 bytes --]

On Wed, Aug 16, 2023 at 10:05:52AM +0200, Sean Nyekjaer wrote:
> Add an atomic_xfer method to the driver so that it behaves correctly
> when controlling a PMIC that is responsible for device shutdown.
>
> The atomic_xfer method added is similar to the one from the i2c-mv64xxx
> driver. When running an atomic_xfer a bool flag in the driver data is
> set, the interrupt is not unmasked on transfer start, and the IRQ
> handler is manually invoked while waiting for pending transfers to
> complete.
>
> Signed-off-by: Sean Nyekjaer <sean@geanix.com>

Applied to for-next, thanks!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]