summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/parse_data_structs.py
diff options
context:
space:
mode:
authorAndrew Udvare <audvare@gmail.com>2026-09-09 15:31:04 -0400
committerTakashi Iwai <tiwai@suse.de>2026-09-10 17:54:40 +0200
commite6e5b688f2aa5c899fe6d9d89eaffb4bd8d82e51 (patch)
treef97961677779f4d0e0d3a530cc286ef5da82dee1 /tools/lib/python/kdoc/parse_data_structs.py
parent8dbd4900598a2c0f486a2cee8cc548b018f75b3b (diff)
ALSA: hda/realtek: Fix speaker dropouts on MSI GE66 Raider 11UE
The speakers on this laptop are driven by a Realtek ALC1316 smart amplifier sitting behind the ALC298 processing-coefficient tunnel. Nothing configures it, so it runs on its power-up defaults with silence detection enabled: the speaker path is muted after roughly 0.2 s of quiet and takes roughly 0.4 s to reopen. Anything arriving in that window is lost, so the beginning of every sound that follows a pause is cut off. It is most obvious with speech synthesis, where the first syllable of each utterance disappears, but it affects music equally. Headphones do not pass through the amplifier and are never affected. Measured on the affected machine with generated tones: isolated 150 ms bursts spaced one second apart are inaudible, the same bursts spaced 100 ms apart are heard, and a continuous tone loses only its first 0.4 s. Add a fixup that programs the amplifier's initialisation sequence at codec init, which turns silence detection off. Writes go through the tunnel with coefficient 0x22 selecting the amplifier, 0x23 carrying the 16-bit register, 0x24 and 0x25 the value's high and low halves, and 0x26 committing. Link: https://github.com/thesofproject/sof/issues/5842 Signed-off-by: Andrew Udvare <audvare@gmail.com> Link: https://patch.msgid.link/20260909193104.26508-1-audvare@gmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/lib/python/kdoc/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions