]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commit5fcd2207b1663743ee1d6199a59ff3a1975d34fe
tree7ac44e3550b41a7017fb8b64124e80931875f6b9
parent88850be0c5916b9dcd96e89639639d12e8ceb701
ALSA: hda/tegra: clear pending irq handlers

BugLink: https://bugs.launchpad.net/bugs/1837257
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>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
sound/pci/hda/hda_tegra.c