diff options
author | 2024-11-14 19:10:30 +0000 | |
---|---|---|
committer | 2024-12-19 14:44:43 +0000 | |
commit | c31cffd5ae2c3d7ef21d9008977a9d117ce7a64e (patch) | |
tree | f0005405f634a6cff285a1db22888c424d4c5030 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | media: uvcvideo: Fix deadlock during uvc_probe (diff) | |
download | wireguard-linux-c31cffd5ae2c3d7ef21d9008977a9d117ce7a64e.tar.xz wireguard-linux-c31cffd5ae2c3d7ef21d9008977a9d117ce7a64e.zip |
media: uvcvideo: Fix event flags in uvc_ctrl_send_events
If there is an event that needs the V4L2_EVENT_CTRL_CH_FLAGS flag, all
the following events will have that flag, regardless if they need it or
not.
This is because we keep using the same variable all the time and we do
not reset its original value.
Cc: stable@vger.kernel.org
Fixes: 805e9b4a06bf ("[media] uvcvideo: Send control change events for slave ctrls when the master changes")
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://lore.kernel.org/r/20241114-uvc-roi-v15-1-64cfeb56b6f8@chromium.org
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions