Commit 924e7991 authored by Maxim Kochetkov's avatar Maxim Kochetkov Committed by sanglipeng
Browse files

ASoC: dwc: limit the number of overrun messages

stable inclusion
from stable-v5.10.183
commit 5ee83fef0c24469a69a03bf3075fe23c9f7feb14
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8IRR2

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=5ee83fef0c24469a69a03bf3075fe23c9f7feb14



--------------------------------

[ Upstream commit ab6ecfbf ]

On slow CPU (FPGA/QEMU emulated) printing overrun messages from
interrupt handler to uart console may leads to more overrun errors.
So use dev_err_ratelimited to limit the number of error messages.

Signed-off-by: default avatarMaxim Kochetkov <fido_max@inbox.ru>
Link: https://lore.kernel.org/r/20230505062820.21840-1-fido_max@inbox.ru


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent f5c30f72
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment