[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190211102433.6m4s64t3wa63tru7@ninjato>
Date: Mon, 11 Feb 2019 11:24:33 +0100
From: Wolfram Sang <wsa@...-dreams.de>
To: Federico Vaga <federico.vaga@...n.ch>
Cc: Peter Korsgaard <peter@...sgaard.com>,
Andrew Lunn <andrew@...n.ch>, linux-i2c@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v4 2/5] i2c:ocores: do not handle IRQ if IF is not set
On Mon, Feb 11, 2019 at 09:31:19AM +0100, Federico Vaga wrote:
> If the Interrupt Flag (IF) is not set, we should not handle the IRQ:
> - the line can be shared with other devices
> - it can be a spurious interrupt
>
> To avoid reading twice the status register, the ocores_process() function
> expects it to be read by the caller.
>
> Signed-off-by: Federico Vaga <federico.vaga@...n.ch>
> Acked-by: Peter Korsgaard <peter@...sgaard.com>
> Reviewed-by: Andrew Lunn <andrew@...n.ch>
>
Applied to for-next, thanks!
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists