Skip to content

Commit

Permalink
noted TC358743 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mdevaev committed Mar 5, 2024
1 parent 40e17b0 commit be5f63d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/libs/device.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit be5f63d

Please sign in to comment.