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

Sean Nyekjaer sean at geanix.com
Mon Jul 3 03:21:02 PDT 2023



> On 3 Jul 2023, at 11.50, Wolfram Sang <wsa at kernel.org> wrote:
> 
> 
>>> Will DMA actually run in atomic mode?
> 
>> Atomic is mainly(only) used for writing a single register in the PMIC
>> for the stpmic.
> 
> And this most probably during shutdown...
> 
>> Guess that will not trigger any DMA use.
> 
> ... so I'd be very surprised if DMA is operational that late. I think we
> can rule that out independent of I2C messages to be trasnferred.
> 

Yes, I’ll submit a V2 without the DMA functionality.

/Sean


More information about the linux-arm-kernel mailing list