]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: tc358743: ignore video while HPD is low
authorHans Verkuil <hverkuil@xs4all.nl>
Tue, 1 Apr 2025 09:54:17 +0000 (11:54 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 30 Apr 2025 06:16:07 +0000 (08:16 +0200)
commit6829c5b5d26b1be31880d74ec24cb32d2d75f1ae
tree6fb597c9472542e312c98c8dc210723e183e7e54
parent80a9da00b999561882d8ec3bda0a131476628a9a
media: tc358743: ignore video while HPD is low

If the HPD is low (happens if there is no EDID or the
EDID is being updated), then return -ENOLINK in
tc358743_get_detected_timings() instead of detecting video.

This avoids userspace thinking that it can start streaming when
the HPD is low.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Tested-by: Maxime Ripard <mripard@kernel.org>
Link: https://lore.kernel.org/linux-media/20240628-stoic-bettong-of-fortitude-e25611@houat/
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/tc358743.c