]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ALSA: hda/tas2781: do not reset cur_* values in runtime_suspend
authorGergo Koteles <soyer@irl.hu>
Fri, 8 Mar 2024 17:41:42 +0000 (18:41 +0100)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:19:57 +0000 (18:19 -0400)
commitc27f8b739f9ba2e57dbbf4d9cfe8909a6e847bfd
tree2eca93aa354ff5c7b5f49a06fd2d3f188ead0999
parente965f1152b0c8e051308597d0e3885695ecd11f6
ALSA: hda/tas2781: do not reset cur_* values in runtime_suspend

[ Upstream commit bec7760a6c5fa59593dac264fa0c628e46815986 ]

The amplifier doesn't loose register state in software shutdown mode, so
there is no need to reset the cur_* values.

Without these resets, the amplifier can be turned on after
runtime_suspend without waiting for the program and
profile to be restored.

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: <aa27ae084150988bf6a0ead7e3403bc485d790f8.1709918447.git.soyer@irl.hu>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/pci/hda/tas2781_hda_i2c.c