[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160424203706.GB4317@katana>
Date: Sun, 24 Apr 2016 22:37:06 +0200
From: Wolfram Sang <wsa@...-dreams.de>
To: Grygorii Strashko <grygorii.strashko@...com>
Cc: Sekhar Nori <nsekhar@...com>, Tony Lindgren <tony@...mide.com>,
linux-i2c@...r.kernel.org, linux-omap@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Sebastian Andrzej Siewior <bigeasy@...utronix.de>
Subject: Re: [PATCH] i2c/omap: drop the lock hard irq context
On Mon, Apr 04, 2016 at 04:55:23PM +0300, Grygorii Strashko wrote:
> From: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
>
> The lock is taken while reading two registers. On RT the first lock is
> taken in hard irq where it might sleep and in the threaded irq.
> The threaded irq runs in oneshot mode so the hard irq does not run until
> the thread the completes so there is no reason to grab the lock.
>
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
> [grygorii.strashko@...com: drop locking from isr completely and remove
> lock field from struct omap_i2c_dev]
> Signed-off-by: Grygorii Strashko <grygorii.strashko@...com>
Applied to for-next, thanks!
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists