i2c: exynos5: Remove IRQF_ONESHOT
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 13 Aug 2019 11:55:54 +0000 (13:55 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 4 Sep 2019 21:13:16 +0000 (23:13 +0200)
commit41d529d6227c443a5827cb8b8f040402dedcf3d2
tree9ee63f1965e1c9921eb19dc54d93a39144aaccb4
parent2252c3172cc5ecfab5aef1057f7c57b39e485f21
i2c: exynos5: Remove IRQF_ONESHOT

The drivers sets IRQF_ONESHOT and passes only a primary handler. The IRQ
is masked while the primary is handler is invoked independently of
IRQF_ONESHOT.
With IRQF_ONESHOT the core code will not force-thread the interrupt and
this is probably not intended. I *assume* that the original author copied
the IRQ registration from another driver which passed a primary and
secondary handler and removed the secondary handler but keeping the
ONESHOT flag.

Remove IRQF_ONESHOT.

Reported-by: Benjamin Rouxel <benjamin.rouxel@uva.nl>
Tested-by: Benjamin Rouxel <benjamin.rouxel@uva.nl>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Tested-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-exynos5.c