linux_dsm_epyc7002/sound/pci/hda
Takashi Iwai a1f3f1ca66 ALSA: hda - Fix regression of HD-audio controller fallback modes
The commit [63e51fd708: ALSA: hda - Don't take unresponsive D3
transition too serious] introduced a conditional fallback behavior to
the HD-audio controller depending on the flag set.  However, it
introduced a silly bug, too, that the flag was evaluated in a reverse
way.  This resulted in a regression of HD-audio controller driver
where it can't go to the fallback mode at communication errors.

Unfortunately (or fortunately?) this didn't come up until recently
because the affected code path is an error handling that happens only
on an unstable hardware chip.  Most of recent chips work stably, thus
they didn't hit this problem.  Now, we've got a regression report with
a VIA chip, and this seems indeed requiring the fallback to the
polling mode, and finally the bug was revealed.

The fix is a oneliner to remove the wrong logical NOT in the check.
(Lesson learned - be careful about double negation.)

The bug should be backported to stable, but the patch won't be
applicable to 3.13 or earlier because of the code splits.  The stable
fix patches for earlier kernels will be posted later manually.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=94021
Fixes: 63e51fd708 ('ALSA: hda - Don't take unresponsive D3 transition too serious')
Cc: <stable@vger.kernel.org> # v3.14+
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2015-03-09 08:41:13 +01:00
..
ca0132_regs.h ALSA: hda: ca0132_regs.h: Fix typo in include guard 2014-08-22 11:24:11 +02:00
dell_wmi_helper.c ALSA: hda - add mic mute led hook for dell machines 2014-07-31 09:21:42 +02:00
hda_auto_parser.c ALSA: hda - Debug output which type of fixup was selected 2015-01-07 15:48:57 +01:00
hda_auto_parser.h ALSA: hda - Sort input pins depending on amp caps 2014-09-23 15:57:32 +02:00
hda_beep.c ALSA: hda - More kerneldoc comments 2014-10-29 16:03:58 +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 - using uninitialized data 2014-11-27 09:34:41 +01:00
hda_codec.h ALSA: hda - Remove obsoleted EXPORT_SYMBOL_HDA() macro 2014-08-19 08:04:29 +02:00
hda_controller.c ALSA: hda - Fix regression of HD-audio controller fallback modes 2015-03-09 08:41:13 +01:00
hda_controller.h ALSA: hda - Use common reboot notifier 2014-06-26 18:00:01 +02:00
hda_eld.c ALSA: hda - Correct kerneldoc comments 2014-10-29 15:06:54 +01:00
hda_generic.c ALSA: hda - Make add_stereo_mix_input flag tristate 2014-12-15 13:46:08 +01:00
hda_generic.h ALSA: hda - Make add_stereo_mix_input flag tristate 2014-12-15 13:46:08 +01:00
hda_hwdep.c ALSA: hwdep: Embed struct device 2015-02-02 14:42:42 +01:00
hda_i915.c ALSA: hda: add component support 2015-01-12 02:48:23 +01:00
hda_intel_trace.h ALSA: hda - Add tracepoints to HD-audio controller driver 2012-10-30 10:39:59 +01:00
hda_intel.c ALSA: hda - Disable runtime PM for Panther Point again 2015-02-25 07:53:31 +01:00
hda_intel.h ALSA: hda: add component support 2015-01-12 02:48:23 +01:00
hda_jack.c ALSA: hda - More kerneldoc comments 2014-10-29 16:03:58 +01:00
hda_jack.h ALSA: hda - More kerneldoc comments 2014-10-29 16:03:58 +01:00
hda_local.h ALSA: hda - Add missing terminating entry to SND_HDA_PIN_QUIRK macro 2014-10-24 10:04:29 +02:00
hda_priv.h time: move the timecounter/cyclecounter code into its own file. 2014-12-30 18:29:25 -05: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 - Fix typos in snd_hda_get_int_hint() kerneldoc comments 2014-12-15 13:39:10 +01:00
hda_tegra.c ALSA: hda/tegra check correct return value from ioremap_resource 2015-02-14 08:57:15 +01:00
hda_trace.h ALSA: hda - Clean up CONFIG_SND_HDA_POWER_SAVE 2012-08-30 07:50:13 -07:00
Kconfig ALSA: hda - Select INPUT for Realtek HD-audio codec 2015-01-15 10:21:50 +01:00
Makefile ALSA: hda - Add driver for Tegra SoC HDA 2014-05-20 09:38:38 +02:00
patch_analog.c ALSA: hda - patch_analog.c: Remove some unused functions 2014-12-26 12:22:09 +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 - Fix kerneldoc errors in patch_ca0132.c 2014-11-11 09:39:11 +01:00
patch_cirrus.c ALSA: hda - Allow multiple callbacks for jack 2014-09-16 17:23:44 +02:00
patch_cmedia.c ALSA: hda - Fix parsing of CMI8888 codec 2014-08-07 10:11:29 +02:00
patch_conexant.c ALSA: hda - Make add_stereo_mix_input flag tristate 2014-12-15 13:46:08 +01:00
patch_hdmi.c ALSA: hda - Add new GPU codec ID 0x10de0072 to snd-hda 2015-01-07 07:55:42 +01:00
patch_realtek.c ALSA: hda - One more Dell macine needs DELL1_MIC_NO_PRESENCE quirk 2015-03-06 13:04:58 +01:00
patch_si3054.c ALSA: hda - Replace with standard printk 2014-02-25 12:27:32 +01:00
patch_sigmatel.c ALSA: hda - Add pin configs for ASUS mobo with IDT 92HD73XX codec 2015-02-23 08:46:04 +01:00
patch_via.c ALSA: hda - Make add_stereo_mix_input flag tristate 2014-12-15 13:46:08 +01:00
thinkpad_helper.c ALSA: hda - Replace with standard printk 2014-02-25 12:27:32 +01:00