1
linux/sound/pci/hda
Takashi Iwai 7ba72ba1fe [ALSA] hda-intel - Fix PCM device number assignment
In the current scheme, PCM device numbers are assigned incrementally
in the order of codecs.  This causes problems when the codec number
is irregular, e.g. codec #0 for HDMI and codec #1 for analog.  Then
the HDMI becomes the first PCM, which is picked up as the default
output device.  Unfortuantely this doesn't work well with normal
setups.

This patch introduced the fixed device numbers for the PCM types,
namely, analog, SPDIF, HDMI and modem.  The PCM devices are assigned
according to the corresponding PCM type.  After this patch, HDMI will
be always assigned to PCM #3, SPDIF to PCM #1, and the first analog
to PCM #0, etc.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-04-24 12:00:07 +02:00
..
hda_codec.c [ALSA] hda-codec - Allow multiple SPDIF devices 2008-04-24 12:00:06 +02:00
hda_codec.h [ALSA] hda-intel - Fix PCM device number assignment 2008-04-24 12:00:07 +02:00
hda_generic.c [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
hda_hwdep.c [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
hda_intel.c [ALSA] hda-intel - Fix PCM device number assignment 2008-04-24 12:00:07 +02:00
hda_local.h [ALSA] hda: Add dynamic mono mixer support for STAC92xx codecs 2008-01-31 17:30:13 +01:00
hda_patch.h [ALSA] hda-codec - kernel config for each codec 2007-10-16 15:58:12 +02:00
hda_proc.c [ALSA] hda-codec - Fix amp-in values for pin widgets 2008-02-22 14:20:09 -08:00
Makefile [ALSA] Add virtual master control helpers 2008-01-31 17:29:54 +01:00
patch_analog.c [ALSA] hda-intel - Fix PCM device number assignment 2008-04-24 12:00:07 +02:00
patch_atihdmi.c [ALSA] hda-intel - Fix PCM device number assignment 2008-04-24 12:00:07 +02:00
patch_cmedia.c [ALSA] hda-intel - Fix PCM device number assignment 2008-04-24 12:00:07 +02:00
patch_conexant.c [ALSA] hda-intel - Fix PCM device number assignment 2008-04-24 12:00:07 +02:00
patch_realtek.c [ALSA] hda-intel - Fix PCM device number assignment 2008-04-24 12:00:07 +02:00
patch_si3054.c [ALSA] hda-intel - Fix PCM device number assignment 2008-04-24 12:00:07 +02:00
patch_sigmatel.c [ALSA] hda-intel - Fix PCM device number assignment 2008-04-24 12:00:07 +02:00
patch_via.c [ALSA] hda-intel - Fix PCM device number assignment 2008-04-24 12:00:07 +02:00
vmaster.c [ALSA] Add virtual master control helpers 2008-01-31 17:29:54 +01:00