From be5f63d64d1fe15ca15d14e36e632e1d6fb3e3c2 Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Wed, 6 Mar 2024 01:02:52 +0200 Subject: [PATCH] noted TC358743 errors --- src/libs/device.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/libs/device.c b/src/libs/device.c index 4fb2ae5..4af1fbb 100644 --- a/src/libs/device.c +++ b/src/libs/device.c @@ -609,7 +609,10 @@ static int _device_open_dv_timings(us_device_s *dev, bool apply) { struct v4l2_dv_timings dv = {0}; _D_LOG_DEBUG("Querying DV-timings (apply=%u) ...", apply); if (us_xioctl(run->fd, VIDIOC_QUERY_DV_TIMINGS, &dv) < 0) { - dv_errno = errno; // ENOLINK if no signal + // TC358743 errors here (see in the kernel: drivers/media/i2c/tc358743.c): + // - ENOLINK: No valid signal (SYS_STATUS & MASK_S_TMDS) + // - ENOLCK: No sync on signal (SYS_STATUS & MASK_S_SYNC) + dv_errno = errno; goto querystd; } else if (!apply) { goto probe_only;