Re: [PATCH v3] i2c: i801: Don't clear status flags twice in interrupt mode

Wolfram Sang
2021-12-09T14:52:34Z

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

On Sat, Dec 04, 2021 at 09:04:40PM +0100, Heiner Kallweit wrote:
> In interrupt mode we clear the status flags twice, in the interrupt
> handler and in i801_check_post(). Remove clearing the status flags
> from i801_check_post() and handle polling mode by using the
> SMBus unlocking write to also clear the status flags if still set.
> To be precise: One could still argue that the status flags are
> cleared twice in interrupt mode, but it comes for free.
>
> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

Applied to for-next, thanks!

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