diff options
| author | Jonas Karlman <[email protected]> | 2024-11-15 04:43:44 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2024-11-15 13:43:00 +0000 |
| commit | 82ff5abc2edcfba0c0f1a1be807795e2876f46e9 (patch) | |
| tree | 3b0065e9a28401ddbd16733244522f123ed14e0d /drivers/usb/cdns3/cdns3-pci-wrap.c | |
| parent | ASoc: simple-mux: Allow to specify an idle-state (diff) | |
| download | kernel-82ff5abc2edcfba0c0f1a1be807795e2876f46e9.tar.gz kernel-82ff5abc2edcfba0c0f1a1be807795e2876f46e9.zip | |
ASoC: hdmi-codec: reorder channel allocation list
The ordering in hdmi_codec_get_ch_alloc_table_idx() results in
wrong channel allocation for a number of cases, e.g. when ELD
reports FL|FR|LFE|FC|RL|RR or FL|FR|LFE|FC|RL|RR|RC|RLC|RRC:
ca_id 0x01 with speaker mask FL|FR|LFE is selected instead of
ca_id 0x03 with speaker mask FL|FR|LFE|FC for 4 channels
and
ca_id 0x04 with speaker mask FL|FR|RC gets selected instead of
ca_id 0x0b with speaker mask FL|FR|LFE|FC|RL|RR for 6 channels
Fix this by reordering the channel allocation list with most
specific speaker masks at the top.
Signed-off-by: Jonas Karlman <[email protected]>
Signed-off-by: Christian Hewitt <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions
