[PATCH] i2c/omap: drop the lock hard irq context

Wolfram Sang wsa at the-dreams.de
Sun Apr 24 13:37:06 PDT 2016


On Mon, Apr 04, 2016 at 04:55:23PM +0300, Grygorii Strashko wrote:
> From: Sebastian Andrzej Siewior <bigeasy at linutronix.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 at linutronix.de>
> [grygorii.strashko at ti.com: drop locking from isr completely and remove
> lock field from struct omap_i2c_dev]
> Signed-off-by: Grygorii Strashko <grygorii.strashko at ti.com>

Applied to for-next, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160424/e7ea5251/attachment.sig>


More information about the linux-arm-kernel mailing list