diff options
author | Gergo Koteles <soyer@irl.hu> | 2024-03-08 18:41:44 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2024-03-11 09:14:39 +0100 |
commit | 9fc91a6fe37c78ef301aed4251f7e50b8524e72d (patch) | |
tree | 3c20279e232cdfa33649b4579e3ddff011154686 /sound/usb | |
parent | 5f51de7e30c7282162a631af8a425b54a4576346 (diff) |
ALSA: hda/tas2781: restore power state after system_resume
After system_resume the amplifers will remain off, even if they were on
before system_suspend.
Use playback_started bool to save the playback state, and restore power
state based on it.
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: <1742b61901781826f6e6212ffe1d21af542d134a.1709918447.git.soyer@irl.hu>
Diffstat (limited to 'sound/usb')
0 files changed, 0 insertions, 0 deletions