summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorLucas Tanure <lucas.tanure@neat.no>2026-10-26 16:40:27 +0000
committerMaíra Canal <mcanal@igalia.com>2026-10-30 10:07:52 -0300
commit2e47848f0d076dec66df3bc403214073cd2214ac (patch)
tree72bce9d0e17b4bcb41dc2290fc60bf26b6eed01b /include/linux/debugobjects.h
parenta59a60e6e9e3a1d5177b28577d935d5ee37ace66 (diff)
drm/vc4: hdmi: always cancel the scrambling work synchronously
The scrambling work re-arms itself every second while a scrambled mode is active. When the output is disabled, the work may be executing at that moment rather than pending, and delayed_work_pending() is then false, so the cancel is skipped. The running instance finishes after the disable, sees the sink report scrambling off, writes the SCDC scrambling and clock ratio bits back on, and queues itself again. The sink is left configured for a scrambled 1/40 link that no longer exists and the work keeps running until the next enable. cancel_delayed_work_sync() handles both states: it waits for a running instance and blocks it from queueing itself again. Cc: stable@vger.kernel.org Fixes: 257d36d493e9 ("drm/vc4: hdmi: Add a workqueue to set scrambling") Assisted-by: LLM Signed-off-by: Lucas Tanure <lucas.tanure@neat.no> Reviewed-by: Maíra Canal <mcanal@igalia.com> Link: https://patch.msgid.link/20261026164028.78792-3-lucas.tanure@neat.no Signed-off-by: Maíra Canal <mcanal@igalia.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions