]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ALSA: hda/tas2781: do not call pm_runtime_force_* in system_resume/suspend
authorGergo Koteles <soyer@irl.hu>
Fri, 8 Mar 2024 17:41:43 +0000 (18:41 +0100)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:19:58 +0000 (18:19 -0400)
commit93cc238b7f56a028b8ec96a4419cfa56b9235121
treed50d7d1cb19996984102f5c2ec7c892543eb1b17
parent939dbde009508ee258928e32c994c68afcc918a3
ALSA: hda/tas2781: do not call pm_runtime_force_* in system_resume/suspend

[ Upstream commit 5f51de7e30c7282162a631af8a425b54a4576346 ]

The runtime_resume function calls prmg_load and apply_calibration
functions, but system_resume also calls them, so calling
pm_runtime_force_resume before reset is unnecessary.

For consistency, do not call the pm_runtime_force_suspend in
system_suspend, as runtime_suspend does the same.

Fixes: 5be27f1e3ec9 ("ALSA: hda/tas2781: Add tas2781 HDA driver")
Signed-off-by: Gergo Koteles <soyer@irl.hu>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Message-ID: <d0b4cc1248b9d375d59c009563da42d60d69eac3.1709918447.git.soyer@irl.hu>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/pci/hda/tas2781_hda_i2c.c