diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2016-04-04 16:55:23 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2016-04-24 22:33:09 +0200 |
commit | 126a66caec4a00b8d66dbc3174b0efa905cf68c3 (patch) | |
tree | 322ace0f7d425b5e4c663e6bfbced4b9969ba48d /drivers/mfd | |
parent | afc34be05331962c2326c24bd0b47baff193b659 (diff) | |
download | op-kernel-dev-126a66caec4a00b8d66dbc3174b0efa905cf68c3.zip op-kernel-dev-126a66caec4a00b8d66dbc3174b0efa905cf68c3.tar.gz |
i2c: omap: drop the lock hard irq context
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@linutronix.de>
[grygorii.strashko@ti.com: drop locking from isr completely and remove
lock field from struct omap_i2c_dev]
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/mfd')
0 files changed, 0 insertions, 0 deletions