]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jan 2019 16:14:47 +0000 (17:14 +0100)
commit30930698ba795914c602adbe52e4106db92d6ae6
tree0e984996c10e4f08c001e2a7e65a6aeb93964aa7
parent1b7682a02161371a0cd85096da932c864165c552
ALSA: hda/tegra: clear pending irq handlers

commit 63d2a9ec310d8bcc955574220d4631aa55c1a80c 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>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/hda_tegra.c