[PATCH] ALSA: pcm_drm_eld: rate-limit ELD parsing errors

From: Francesco Saverio Pavone

Date: Sun May 10 2026 - 10:18:11 EST


Hi all,

Sending this via attachment because my Postfix relay setup wasn't usable.
Patch is straightforward: rate-limit two dev_info() calls in
snd_parse_eld() that get triggered on every PCM open against an
HDMI codec with no sink attached.

Equivalent fix to the one Mark Brown did for hdac_hdmi in June 2025
(lkml.kernel.org/lkml/2025/6/13/1380), just for the generic helper used
by ASoC hdmi-codec.

Tested on Rock 5B+ (RK3588): two HDMI outputs, only one cable plugged
in. Before: ~30 "HDMI: Unknown ELD version 0" lines per probe burst.
After: 0.

Let me know if anything needs adjusting.

Thanks,
Sav

Attachment: 0001-ALSA-pcm_drm_eld-rate-limit-ELD-parsing-errors.patch
Description: Binary data