ASoC: dwc: limit the number of overrun messages

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: Maxim Kochetkov <fido_max@inbox.ru
Link: https://lore.kernel.org/r/20230505062820.21840-1-fido_max@inbox.ru
Signed-off-by: Mark Brown <broonie@kernel.org
This commit is contained in:
Maxim Kochetkov 2023-05-05 09:28:20 +03:00 • committed by Mark Brown
commit ab6ecfbf40
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0