linux/sound/pci/hda
Takashi Iwai d5cf991198 ALSA: hda - Distinguish each substream for better sticky assignment
The commit ef18beded8 introduced a
mechanism to assign the previously used slot for the next reopen of a
PCM stream.  But the PCM device number isn't always unique (it may
have multiple substreams), and also the code doesn't check the stream
direction, thus both playback and capture streams share the same
device number.

For avoiding this conflict, make a unique key for each substream and
store/check this value at reopening.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-10-06 10:11:11 +02:00
..
alc260_quirks.c ALSA: hda - Remove ALC260 HP model quirks 2011-08-15 13:10:18 +02:00
alc262_quirks.c ALSA: HDA: Refactor Realtek's automute 2011-09-20 18:22:33 +02:00
alc880_quirks.c ALSA: HDA: Refactor Realtek's automute 2011-09-20 18:22:33 +02:00
alc882_quirks.c ALSA: HDA: Refactor Realtek's automute 2011-09-20 18:22:33 +02:00
alc_quirks.c ALSA: HDA: Refactor Realtek's automute 2011-09-20 18:22:33 +02:00
hda_beep.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
hda_beep.h ALSA: hda - Fix missing static inline to beep dummy function 2011-06-14 08:14:32 +02:00
hda_codec.c ALSA: hda - Moved snd_print_pcm_rates() back into hda_proc.c 2011-10-06 08:21:15 +02:00
hda_codec.h ALSA: hda - Allow codec-specific set_power_state ops 2011-07-26 17:21:24 +02:00
hda_eld.c ALSA: hda - Moved snd_print_pcm_rates() back into hda_proc.c 2011-10-06 08:21:15 +02:00
hda_generic.c ALSA: hda - consitify string arrays 2011-01-18 07:43:17 +01:00
hda_hwdep.c ALSA: hda - Allow patching with any vendor/subsystem ids 2011-09-28 20:19:16 +02:00
hda_intel.c ALSA: hda - Distinguish each substream for better sticky assignment 2011-10-06 10:11:11 +02:00
hda_local.h ALSA: hda - Moved snd_print_pcm_rates() back into hda_proc.c 2011-10-06 08:21:15 +02:00
hda_proc.c ALSA: hda - Moved snd_print_pcm_rates() back into hda_proc.c 2011-10-06 08:21:15 +02:00
hda_trace.h ALSA: hda - Add tracepoint for unsolicited events 2011-08-09 14:24:17 +02:00
Kconfig ALSA: hda - Make CONFIG_SND_HDA_POWER_SAVE depending on CONFIG_PM 2011-07-26 17:21:18 +02:00
Makefile ALSA: hda - Add basic tracepoints 2011-08-04 17:02:37 +02:00
patch_analog.c ALSA: HDA - Add Independent Headphone for all models of ad1988/ad1989 2011-09-23 15:21:29 +02:00
patch_ca0110.c ALSA: hda: Virtualize SPDIF out controls 2011-06-06 12:51:59 +02:00
patch_ca0132.c ALSA: hda - Fix a compile error in patch_ca0132.c for the recent SPDIF change 2011-06-21 07:44:51 +02:00
patch_cirrus.c ALSA: HDA: Cirrus - fix "Surround Speaker" volume control name 2011-09-14 13:45:12 +02:00
patch_cmedia.c ALSA: hda - Fix unused variable warning 2011-06-29 08:02:33 +02:00
patch_conexant.c Merge branch 'fix/hda' into topic/hda 2011-09-20 09:14:04 +02:00
patch_hdmi.c ALSA: hda/hdmi: expose ELD control 2011-10-03 15:48:12 +02:00
patch_realtek.c ALSA: hda/realtek - Choose more cleverly the primary outputs 2011-10-06 08:30:45 +02:00
patch_si3054.c ALSA: hda - Constify fixup and other array data in patch_si3054.c 2011-05-02 12:22:39 +02:00
patch_sigmatel.c ALSA: HDA: Fix DAC assignment for secondary headphone on Sigmatel/IDT 2011-10-05 12:56:40 +02:00
patch_via.c ALSA: hda:via - Skip creations of empty PCM streams 2011-09-28 16:43:36 +02:00