Skip to content
Unverified Commit 19558350 authored by Marek Vasut's avatar Marek Vasut Committed by Mark Brown
Browse files

spi: stm32: Print summary 'callbacks suppressed' message

The original fix "spi: stm32: Rate-limit the 'Communication suspended' message"
still leads to "stm32h7_spi_irq_thread: 1696 callbacks suppressed" spew in the
kernel log. Since this 'Communication suspended' message is a debug print, add
RATELIMIT_MSG_ON_RELEASE flag to inhibit the "callbacks suspended" part during
normal operation and only print summary at the end.

Fixes: ea8be08c

 ("spi: stm32: Rate-limit the 'Communication suspended' message")
Signed-off-by: default avatarMarek Vasut <marex@denx.de>
Link: https://lore.kernel.org/r/20221018183513.206706-1-marex@denx.de
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent f8aa6c89
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment