linux/sound/pci
Stephen Warren 7c93597627 ALSA: hda: Allow multple SPDIF controls per codec
Currently, the data that backs the kcontrols created by
snd_hda_create_spdif_out_ctls is stored directly in struct hda_codec. When
multiple sets of these controls are stored, they will all manipulate the
same data, causing confusion. Instead, store an array of this data, one
copy per converter, to isolate the controls.

This patch would cause a behavioural change in the case where
snd_hda_create_spdif_out_ctls was called multiple times for a single codec.
As best I can tell, this is never the case for any codec.

This will be relevant at least for some HDMI audio codecs, such as the
NVIDIA GeForce 520 and Intel Ibex Peak. A future change will modify the
driver's handling of those codecs to create multiple PCMs per codec. Note
that this issue isn't affected by whether one creates a PCM-per-converter
or PCM-per-pin; there are multiple of both within a single codec in both
of those codecs.

Note that those codecs don't currently create multiple PCMs for the codec
due to the default HW mux state of all pins being to point at the same
converter, hence there is only a single converter routed to any pin, and
hence only a single PCM.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-06-06 12:48:59 +02:00
..
ac97 ALSA: azt3328: hook up new emulated AC97 on AC97 patch side 2011-02-19 16:03:08 +01:00
ali5451
asihpi ALSA: asihpi: Use angle brackets for system includes 2011-06-03 11:46:37 +02:00
au88x0 Merge branch 'topic/misc' into for-linus 2011-05-22 10:01:29 +02:00
aw2
ca0106 Fix common misspellings 2011-03-31 11:26:23 -03:00
cs46xx ALSA: cs46xx memory management fixes for cs46xx_dsp_spos_create() 2010-11-01 10:26:23 +01:00
cs5535audio PCI: make pci_restore_state return void 2010-12-23 12:53:09 -08:00
ctxfi Fix common misspellings 2011-03-31 11:26:23 -03:00
echoaudio ALSA: echoaudio: check kmalloc() result 2010-07-19 17:59:04 +02:00
emu10k1 Merge branch 'topic/misc' into for-linus 2011-05-22 10:01:29 +02:00
hda ALSA: hda: Allow multple SPDIF controls per codec 2011-06-06 12:48:59 +02:00
ice1712 Fix common misspellings 2011-03-31 11:26:23 -03:00
korg1212
lola ALSA: lola - fix lola build 2011-05-04 19:55:13 +02:00
lx6464es ALSA: lx6464es - make 1 bit signed bitfield unsigned 2010-11-01 10:28:35 +01:00
mixart Fix common misspellings 2011-03-31 11:26:23 -03:00
nm256
oxygen ALSA: oxygen: fix output routing on Xonar DG 2011-01-31 12:00:02 +01:00
pcxhr Fix common misspellings 2011-03-31 11:26:23 -03:00
riptide ALSA: riptide - Fix detection / load of firmware files 2010-08-16 08:08:48 +02:00
rme9652 Fix common misspellings 2011-03-31 11:26:23 -03:00
trident fix typos concerning "initiali[zs]e" 2010-06-16 18:05:05 +02:00
vx222
ymfpci ALSA: ymfpci: use enum control info helper 2011-01-10 16:47:03 +01:00
ad1889.c Fix common misspellings 2011-03-31 11:26:23 -03:00
ad1889.h
ak4531_codec.c
als300.c
als4000.c ALSA: als4000: Fix potentially invalid DMA mode setup 2010-08-04 23:18:33 +02:00
atiixp_modem.c ALSA: atiixp - Fix wrong time-out checks during ac-link reset 2011-03-11 15:45:32 +01:00
atiixp.c ALSA: atiixp - Fix wrong time-out checks during ac-link reset 2011-03-11 15:45:32 +01:00
azt3328.c Fix common misspellings 2011-03-31 11:26:23 -03:00
azt3328.h
bt87x.c ALSA: bt87x: use enum control info helper 2011-01-10 16:46:56 +01:00
cmipci.c Fix common misspellings 2011-03-31 11:26:23 -03:00
cs4281.c
cs5530.c
ens1370.c ALSA: ens1371: fix Creative Ectiva support 2011-03-30 08:57:27 +02:00
ens1371.c
es1938.c
es1968.c ALSA: tea575x: use better card and bus names 2011-05-13 19:43:24 +02:00
fm801.c ALSA: fm801: add error handling if auto-detect fails 2011-06-03 10:11:17 +02:00
intel8x0.c Fix common misspellings 2011-03-31 11:26:23 -03:00
intel8x0m.c Merge branch 'topic/misc' into for-linus 2011-05-22 10:01:29 +02:00
Kconfig Merge branch 'topic/misc' into for-linus 2011-05-22 10:01:29 +02:00
maestro3.c
Makefile ALSA: Add the driver for Digigram Lola PCI-e boards 2011-05-03 16:31:05 +02:00
rme32.c
rme96.c Fix common misspellings 2011-03-31 11:26:23 -03:00
sis7019.c Fix common misspellings 2011-03-31 11:26:23 -03:00
sis7019.h
sonicvibes.c
via82xx_modem.c
via82xx.c ALSA: via82xx: allow changing the initial DXS volume 2010-07-12 17:25:27 +02:00