summaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2016-04-04 16:55:23 +0300
committerWolfram Sang <wsa@the-dreams.de>2016-04-24 22:33:09 +0200
commit126a66caec4a00b8d66dbc3174b0efa905cf68c3 (patch)
tree322ace0f7d425b5e4c663e6bfbced4b9969ba48d /drivers/misc
parentafc34be05331962c2326c24bd0b47baff193b659 (diff)
downloadop-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/misc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud