summaryrefslogtreecommitdiff
path: root/kernel/debug/debug_core.c
diff options
context:
space:
mode:
authorDevin Christensen <dchristensen8@proton.me>2026-11-16 14:25:56 +0000
committerTakashi Iwai <tiwai@suse.de>2026-11-17 09:57:41 +0100
commit79f9e85150b2ad4de301e5517ea983674d6ead55 (patch)
tree7e97d50ae2a55263b8688db27ab8821c36063aa8 /kernel/debug/debug_core.c
parenta7c800982bd0cc704a92c3b616e8bb049f2e68fa (diff)
ALSA: hda/ca0132: Fix AE-5 LED strip color corruption during animation
In ae5_strip_send_frame(), formatting repeating frame cycles across the 32 KB DMA buffer combined with stopping the HDA stream after an arbitrary 15-20 ms delay causes transmissions to be cut off mid-frame / mid-byte. WS2812 shift registers latch on signal low (>50 us), so terminating mid-byte leaves partial bits in the registers, shifting color channel alignments (e.g. blue/white shifting to green/purple/red) on subsequent frames. Fix this by populating exactly one WS2812 frame followed by the reset gap and zero-filling the remainder of the 32 KB buffer. Reduce usleep_range to 8-10 ms, which guarantees the frame has completed and the stream terminates cleanly during trailing silence without truncating active LED data. Fixes: c3e35f355fad ("ALSA: hda/ca0132: Add Sound BlasterX AE-5 external RGB LED strip support") Signed-off-by: Devin Christensen <dchristensen8@proton.me> Link: https://patch.msgid.link/20261116142542.4178770-2-dchristensen8@proton.me Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'kernel/debug/debug_core.c')
0 files changed, 0 insertions, 0 deletions