linux/sound/pci/hda
Sameer Pujar 43cbb7c1e7 ALSA: hda/tegra: clear pending irq handlers
commit 63d2a9ec31 upstream.

Even after disabling interrupts on the module, it could be possible
that irq handlers are still running. System hang is seen during
suspend path. It was found that, there were pending writes on the
HDA bus and clock was disabled by that time.

Above mentioned issue is fixed by clearing any pending irq handlers
before disabling clocks and returning from hda suspend.

Suggested-by: Mohan Kumar <mkumard@nvidia.com>
Suggested-by: Dara Ramesh <dramesh@nvidia.com>
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
[bwh: Backported to 3.16:
 - Use azx::irq instead of hdac_bus::irq
 - Adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2019-04-04 16:14:10 +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 - Fix usage of "model" module parameter 2014-06-23 12:21:12 +02: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: Remove superfluous '-' added by printk conversion 2018-01-01 20:51:55 +00:00
hda_codec.h ALSA: hda - Add fixup_forced flag 2014-05-26 11:03:38 +02:00
hda_controller.c ALSA: hda - Handle kzalloc() failure in snd_hda_attach_pcm_stream() 2018-11-20 18:05:07 +00:00
hda_controller.h ALSA: hda - Make full_reset boolean 2014-04-09 14:48:07 +02:00
hda_eld.c ALSA: hda - Replace with standard printk 2014-02-25 12:27:32 +01:00
hda_generic.c ALSA: hda - set input_path bitmap to zero after moving it to new place 2017-09-15 18:30:16 +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: Hardening for potential Spectre v1 2018-10-21 08:45:42 +01:00
hda_i915.c ALSA: hda - restore BCLK M/N value as per CDCLK for HSW/BDW display HDA controller 2014-07-04 07:47:22 +02:00
hda_i915.h ALSA: hda - restore BCLK M/N value as per CDCLK for HSW/BDW display HDA controller 2014-07-04 07:47:22 +02:00
hda_intel.c ALSA: hda: Add support for AMD Stoney Ridge 2019-02-11 17:54:15 +00: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 - Add missing terminating entry to SND_HDA_PIN_QUIRK macro 2014-10-30 09:40:17 -07:00
hda_priv.h sound/radeon: Move 64-bit MSI quirk from arch to driver 2014-12-10 17:15:22 +00:00
hda_proc.c ALSA: hda - Treat stereo-to-mono mix properly 2015-03-30 11:11:37 +01:00
hda_sysfs.c ALSA: hda - Replace with standard printk 2014-02-25 12:27:32 +01:00
hda_tegra.c ALSA: hda/tegra: clear pending irq handlers 2019-04-04 16:14:10 +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 - Add driver for Tegra SoC HDA 2014-05-20 09:38:38 +02:00
Makefile ALSA: hda - Add driver for Tegra SoC HDA 2014-05-20 09:38:38 +02:00
patch_analog.c ALSA: hda - Add EAPD fixup for ASUS Z99He laptop 2015-01-15 10:43:49 +00: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/ca0132: fix build failure when a local macro is defined 2018-11-20 18:04:50 +00:00
patch_cirrus.c ALSA: hda - Apply the existing quirk to iMac 14,1 2018-03-03 15:52:20 +00:00
patch_cmedia.c ALSA: hda - Replace with standard printk 2014-02-25 12:27:32 +01:00
patch_conexant.c ALSA: hda - Add mic quirk for the Lenovo G50-30 (17aa:3905) 2019-02-11 17:53:31 +00:00
patch_hdmi.c ALSA: hda - adding a new NV HDMI/DP codec ID in the driver 2017-03-16 02:27:12 +00:00
patch_realtek.c ALSA: hda/realtek - Add a quirk for FSC ESPRIMO U9210 2018-11-20 18:05:24 +00:00
patch_si3054.c ALSA: hda - Replace with standard printk 2014-02-25 12:27:32 +01:00
patch_sigmatel.c ALSA: hda - apply STAC_9200_DELL_M22 quirk for Dell Latitude D430 2017-09-15 18:29:49 +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 - add a new condition to check if it is thinkpad 2017-02-23 03:54:31 +00:00