diff options
| author | Cássio Gabriel <cassiogabrielcontato@gmail.com> | 2026-04-07 12:35:42 -0300 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-04-08 09:55:03 +0200 |
| commit | 19cbb3e0c27f28feb7781641994226cb2ee206a2 (patch) | |
| tree | 81a7a8bf266fffaa0f0ab11af49094ffde8e9640 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 22cb174c0af85e83d02a7b44fcc20c77008ee885 (diff) | |
ALSA: tea6330t: add mixer state restore helper
The InterWave STB variant uses a TEA6330T mixer on its private
I2C bus. The mixer state is cached in software, but there is no
helper to push that register image back to hardware after system
resume.
Add a small restore helper that reapplies the cached TEA6330T
register image to the device so board drivers can restore the
external mixer state as part of their PM resume path.
Take snd_i2c_lock() around the full device lookup and restore
sequence so the bus device list traversal is also protected.
Signed-off-by: Cássio Gabriel <cassiogabrielcontato@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20260407-alsa-interwave-pm-v2-2-8dd96c6129e9@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
