]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: hda/tegra: clear pending irq handlers
authorSameer Pujar <spujar@nvidia.com>
Wed, 26 Dec 2018 10:34:49 +0000 (16:04 +0530)
committerTakashi Iwai <tiwai@suse.de>
Tue, 1 Jan 2019 08:31:37 +0000 (09:31 +0100)
commit63d2a9ec310d8bcc955574220d4631aa55c1a80c
tree6cd81be4ee16f7a15f1a8565a8d246247490a30b
parent82b01149ec94d746867d7f9156c44d775d4d2d67
ALSA: hda/tegra: clear pending irq handlers

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>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_tegra.c