diff options
| author | Gerald Loacker <gerald.loacker@wolfvision.net> | 2026-09-21 09:15:34 +0200 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2026-09-23 14:54:50 +0200 |
| commit | d029dfa8170b5d0baf39247db7501dbfcc16d9f7 (patch) | |
| tree | 2f8bc72af8c2fe90653c68da4e7254bbe0692fc1 /tools/perf/scripts/python/task-analyzer.py | |
| parent | e8554ac860356f1f4cd9bce454271dce1ed35fc1 (diff) | |
media: synopsys: hdmirx: add input status reporting to VIDIOC_ENUMINPUT
Userspace currently has to learn the cable and lock state from the error
VIDIOC_QUERY_DV_TIMINGS returns, -ENOLINK or -ENOLCK. Both of those paths
log at v4l2_err level, so waiting for a cable fills the kernel log.
Report it where it belongs instead: V4L2_IN_ST_NO_POWER while the source
is not driving the connector's +5V line, V4L2_IN_ST_NO_SIGNAL while the
receiver has not locked. Both come from the helpers
hdmirx_query_dv_timings() already uses, so the two cannot disagree.
adv76xx_g_input_status() and adv7842_g_input_status() report the same two
flags the same way.
Signed-off-by: Gerald Loacker <gerald.loacker@wolfvision.net>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
