diff options
author | 2024-03-08 18:41:44 +0100 | |
---|---|---|
committer | 2024-03-11 09:14:39 +0100 | |
commit | 9fc91a6fe37c78ef301aed4251f7e50b8524e72d (patch) | |
tree | 3c20279e232cdfa33649b4579e3ddff011154686 /scripts/generate_rust_analyzer.py | |
parent | ALSA: hda/tas2781: do not call pm_runtime_force_* in system_resume/suspend (diff) | |
download | linux-rng-9fc91a6fe37c78ef301aed4251f7e50b8524e72d.tar.xz linux-rng-9fc91a6fe37c78ef301aed4251f7e50b8524e72d.zip |
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions