9 Sep
2023
9 Sep
'23
3:45 p.m.
On Sat, Sep 09, 2023 at 01:46:33PM +0200, Matthias Reichl wrote:
Commit 4e0871333661 ("ASoC: hdmi-codec: fix channel info for compressed formats") accidentally changed hcp->chmap_idx from ca_id, the CEA channel allocation ID, to idx, the index to the table of channel mappings ordered by preference.
This resulted in wrong channel maps being reported to userspace, eg for 5.1 "FL,FR,LFE,FC" was reported instead of the expected "FL,FR,LFE,FC,RL,RR":
Presumably this will cause a regression for people using compressed formats - isn't the fix here to make this behaviour conditional on if the format is compressed?