mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
i2c: rcar: WARN about spurious irqs
The FIXME is very old and probably needed because of some driver bug like insufficient initialization. It may well be that it was fixed meanwhile but we never know because the spurious irq is silently ignored. Add now a call trace when this happens so we have more information in case the issue still exists. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
This commit is contained in:
parent
00fa2450c1
commit
3291d2327e
@ -545,7 +545,7 @@ static void rcar_i2c_irq_send(struct rcar_i2c_priv *priv, u32 msr)
|
||||
u32 irqs_to_clear = MDE;
|
||||
|
||||
/* FIXME: sometimes, unknown interrupt happened. Do nothing */
|
||||
if (!(msr & MDE))
|
||||
if (WARN(!(msr & MDE), "spurious irq"))
|
||||
return;
|
||||
|
||||
if (msr & MAT)
|
||||
|
Loading…
Reference in New Issue
Block a user