diff options
| author | Michał Kopeć <michal@nozomi.space> | 2026-10-03 21:45:01 +0200 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-10-08 10:15:42 +0200 |
| commit | d0b9e91b87c9d243ee95992978b02cb7d3bfee01 (patch) | |
| tree | f2f2154abe0ed29499e707ddab6f9e432336b393 /scripts/basic | |
| parent | 76775717c4adc283d5e7aed469468c8fa1ada4a7 (diff) | |
| download | linux-d0b9e91b87c9d243ee95992978b02cb7d3bfee01.tar.gz linux-d0b9e91b87c9d243ee95992978b02cb7d3bfee01.zip | |
ASoC: hdmi-codec: Don't parse an empty ELD on startup
A bridge's get_eld() returns an all-zero ELD when no sink is connected.
hdmi_codec_startup() parses it unconditionally, so every open of a
disconnected HDMI/DP PCM logs:
hdmi-audio-codec: HDMI: Unknown ELD version 0
Skip parsing when the ELD is empty and clear the previously parsed
copy instead. The ELD hw constraint already falls back to basic stereo
rates for an empty ELD, so stream setup is unchanged. plugged_cb()
likewise treats a parse failure as debug-only.
Signed-off-by: Michał Kopeć <michal@nozomi.space>
Link: https://patch.msgid.link/20261003194501.832558-5-michal@nozomi.space
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
