diff options
| author | Umang Jain <uajain@igalia.com> | 2025-11-20 19:47:57 +0530 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2025-11-21 10:35:04 +0100 |
| commit | 9ef1203fc73570290e09be65b15df84815ca4089 (patch) | |
| tree | fa510de3b4467875b56e19fc8d055d9132af3547 /tools/lib/python/feat/parse_features.py | |
| parent | c639065e142582b886f294be82130f46bbdc707a (diff) | |
ALSA: pcm: Harden the spk_alloc assumption check
If the parsed ELD has spk_alloc=0, it currently assigns the parsed ELD
spk_alloc to 0xffff. However, we should also check if there is at least
one SAD (Short audio descriptor) to enforce the assumption, as ELD
without any sad_count, is usually considered invalid for e.g. in
commit ce9778b7a0272("ALSA: hda/hdmi: Consider ELD is invalid when no
SAD is present").
Signed-off-by: Umang Jain <uajain@igalia.com>
Link: https://patch.msgid.link/20251120141757.901505-1-uajain@igalia.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/lib/python/feat/parse_features.py')
0 files changed, 0 insertions, 0 deletions
