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)
committerTakashi Iwai <tiwai@suse.de>
Mon, 11 Mar 2024 08:14:39 +0000 (09:14 +0100)
commitbec7760a6c5fa59593dac264fa0c628e46815986
tree08253ea9e8e3782e83d5f4bd149f37fdd1a7b57f
parentc58e6ed55a1bb9811d6d936d001b068bb0419467
ALSA: hda/tas2781: do not reset cur_* values in runtime_suspend

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>
sound/pci/hda/tas2781_hda_i2c.c