aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHans Verkuil <[email protected]>2024-06-24 12:52:59 +0300
committerHans Verkuil <[email protected]>2024-06-28 08:00:29 +0200
commit17763960b1784578e8fe915304b330922f646209 (patch)
tree1288becbc93133ec02bbad8b83218b646d8c10fa /tools/perf/scripts/python
parente03549dd025392bffc47264d53894e48a387b25d (diff)
media: vivid: don't set HDMI TX controls if there are no HDMI outputs
When setting the EDID it would attempt to update two controls that are only present if there is an HDMI output configured. If there isn't any (e.g. when the vivid module is loaded with node_types=1), then calling VIDIOC_S_EDID would crash. Fix this by first checking if outputs are present. Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions