OpenCloudOS-Kernel/sound/pci/hda
Anssi Hannula dcb32ecd9a ALSA: hda - Do not assign streams in reverse order
Currently stream numbers are assigned in reverse order.

Unfortunately commit 7546abfb8e ("ALSA: hda - Increment
default stream numbers for AMD HDMI controllers") assumed this was not
the case (specifically, it had the "old cards had single device only"
=> "extra unused stream numbers do not matter" assumption), causing
non-working audio regressions for AMD Radeon HDMI users.

Change the stream numbers to be assigned in forward order.

The benefit is that regular audio playback will still work even if the
assumed stream count is too high, downside is that a too high stream
count may remain hidden.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=77002
Reported-by: Christian Güdel <cg@dmesg.ch>
Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
Tested-by: Christian Güdel <cg@dmesg.ch> # 3.14
Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2014-04-08 11:44:21 +02:00
..
Kconfig ALSA: hda - remove PCI dependency in Kconfig 2014-03-01 11:23:55 +01:00
Makefile ALSA: hda - remove PCI dependency in Kconfig 2014-03-01 11:23:55 +01:00
ca0132_regs.h ALSA: hda/ca0132 - Fix type of INVALID_CHIP_ADDRESS 2013-02-12 10:15:15 +01:00
hda_auto_parser.c ALSA: hda - Inform the unexpectedly ignored pins by auto-parser 2014-03-25 10:02:01 +01:00
hda_auto_parser.h ALSA: hda - add some small convenience functions to auto parser 2013-04-11 11:59:27 +02:00
hda_beep.c ALSA: hda - Fix registration of beep input device 2014-02-28 14:02:21 +01:00
hda_beep.h ALSA: hda - Fix registration of beep input device 2014-02-28 14:02:21 +01:00
hda_codec.c ALSA: hda - Fix registration of beep input device 2014-02-28 14:02:21 +01:00
hda_codec.h ALSA: hda - Enable sysfs attributes without CONFIG_SND_HDA_RECONFIG 2014-02-25 12:12:55 +01:00
hda_controller.c ALSA: hda - Do not assign streams in reverse order 2014-04-08 11:44:21 +02:00
hda_controller.h ALSA: hda - Move codec create to hda_controller 2014-03-01 11:23:33 +01:00
hda_eld.c ALSA: hda - Replace with standard printk 2014-02-25 12:27:32 +01:00
hda_generic.c ALSA: hda - Fix registration of beep input device 2014-02-28 14:02:21 +01:00
hda_generic.h Merge branch 'for-linus' into for-next 2014-02-12 10:34:27 +01:00
hda_hwdep.c ALSA: hda - Add sysfs to codec object, too 2014-02-25 12:12:54 +01:00
hda_i915.c ALSA: hda - Replace with standard printk 2014-02-25 12:27:32 +01:00
hda_i915.h ALSA: hda - Add power-welll support for haswell HDA 2013-06-06 17:31:56 +02:00
hda_intel.c ALSA: hda - Mark reg op args as iomem 2014-03-03 09:53:28 +01:00
hda_intel_trace.h ALSA: hda - Add tracepoints to HD-audio controller driver 2012-10-30 10:39:59 +01:00
hda_jack.c ALSA: hda - Kill EXPORT_SYMBOL_HDA() 2013-12-19 14:36:19 +01:00
hda_jack.h ALSA: hda - Add a block_report flag to jacks 2013-11-07 14:03:17 +01:00
hda_local.h ALSA: hda - Replace with standard printk 2014-02-25 12:27:32 +01:00
hda_priv.h ALSA: hda - Mark reg op args as iomem 2014-03-03 09:53:28 +01:00
hda_proc.c ALSA: hda - Add parameter for dumping processing coefficients 2014-01-29 16:39:13 +01:00
hda_sysfs.c ALSA: hda - Replace with standard printk 2014-02-25 12:27:32 +01:00
hda_trace.h ALSA: hda - Clean up CONFIG_SND_HDA_POWER_SAVE 2012-08-30 07:50:13 -07:00
patch_analog.c ASoC: Updates for v3.15 2014-03-13 09:53:25 +01:00
patch_ca0110.c ALSA: hda - Remove superfluous inclusion of linux/pci.h 2014-02-15 10:12:12 +01:00
patch_ca0132.c ALSA: hda - Replace with standard printk 2014-02-25 12:27:32 +01:00
patch_cirrus.c ALSA: hda - Remove superfluous inclusion of linux/pci.h 2014-02-15 10:12:12 +01:00
patch_cmedia.c ALSA: hda - Replace with standard printk 2014-02-25 12:27:32 +01:00
patch_conexant.c ALSA: hda - Fix registration of beep input device 2014-02-28 14:02:21 +01:00
patch_hdmi.c ALSA: hda - verify pin:cvt connection on preparing a stream for Intel HDMI codec 2014-03-20 07:36:17 +01:00
patch_realtek.c ALSA: hda/realtek - Add eapd shutup to ALC283 2014-04-08 11:27:29 +02:00
patch_si3054.c ALSA: hda - Replace with standard printk 2014-02-25 12:27:32 +01:00
patch_sigmatel.c ALSA: hda/sigmatel - Allow auto-switching for dock line-in of HP laptops 2014-02-27 16:24:53 +01:00
patch_via.c ALSA: hda - Make snd_hda_gen_spec_free() static 2014-02-10 18:23:57 +01:00
thinkpad_helper.c ALSA: hda - Replace with standard printk 2014-02-25 12:27:32 +01:00