linux/sound/pci
Anssi Hannula a5b7d510b2 ALSA: hda - hdmi: Fix channel maps with less common speakers
For some speakers and slots the CEA slot <-> speaker assignment depends
on the used CEA Channel Allocation value.

Therefore the from_cea_slot() and to_cea_slot() helpers currently only
work correctly for the regular 7.1 speakers.

Fix them to work with all speakers, taking the re-ordered CA index as
input and adapting use sites accordingly.

This change allows manual channel mapping to actually work for all CEA
allocated speakers. Additionally, this fixes incorrect channel map
reporting in automatic channel mapping mode when an affected speaker
position is used (e.g. 6.1 map which contains an RC speaker).

Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2013-10-07 12:48:15 +02:00
..
ac97
ali5451
asihpi ALSA: asihpi: a couple array out of bounds issues 2013-09-13 14:31:51 +02:00
au88x0 ALSA: au88x0: Remove redundant break 2013-09-13 14:39:08 +02:00
aw2
ca0106
cs46xx
cs5535audio
ctxfi ALSA: ctxfi: Staticize local symbols 2013-09-13 14:36:09 +02:00
echoaudio
emu10k1
hda ALSA: hda - hdmi: Fix channel maps with less common speakers 2013-10-07 12:48:15 +02:00
ice1712
korg1212
lola
lx6464es
mixart
nm256
oxygen
pcxhr
riptide
rme9652 ALSA: rme9652: Remove redundant break 2013-09-13 14:39:20 +02:00
trident
vx222
ymfpci
ad1889.c
ad1889.h
ak4531_codec.c
als300.c
als4000.c
atiixp_modem.c
atiixp.c
azt3328.c ALSA: Fix assignment of 0/1 to bool variables 2013-09-26 09:57:24 +02:00
azt3328.h
bt87x.c
cmipci.c
cs4281.c
cs5530.c
ens1370.c treewide: Fix printks with 0x%# 2013-08-27 10:49:38 +02:00
ens1371.c
es1938.c
es1968.c [media] tea575x: Move header from sound to media 2013-08-18 08:08:05 -03:00
fm801.c [media] tea575x: Move header from sound to media 2013-08-18 08:08:05 -03:00
intel8x0.c
intel8x0m.c
Kconfig [media] sound/pci/Kconfig: select RADIO_ADAPTERS if needed 2013-08-24 08:17:48 -03:00
maestro3.c
Makefile
rme32.c
rme96.c alsa/rme96: Add missing inclusion of linux/vmalloc.h 2013-08-22 23:24:00 +02:00
sis7019.c
sis7019.h
sonicvibes.c
via82xx_modem.c
via82xx.c treewide: Fix printks with 0x%# 2013-08-27 10:49:38 +02:00