This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:

Subject: edid-decode: reading EDID from non-0 segment failed
Author:  Hans Verkuil <[email protected]>
Date:    Tue Oct 28 14:56:17 2025 +0100

When reading the EDID from a non-zero segment the EDID offset
wasn't written ('write_message'), so the read data was shifted.

Make sure to include the offset in the i2c transaction.

Signed-off-by: Hans Verkuil <[email protected]>

 utils/edid-decode/ddc.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=796dc550a682e8f65fe6457cd5fec5ee123f39aa
diff --git a/utils/edid-decode/ddc.cpp b/utils/edid-decode/ddc.cpp
index 305ad8e02c1d..2b0c0298c989 100644
--- a/utils/edid-decode/ddc.cpp
+++ b/utils/edid-decode/ddc.cpp
@@ -122,7 +122,7 @@ static int read_edid_block(int adapter_fd, __u8 *edid,
        };
 
        if (segment) {
-               struct i2c_msg msgs[2] = { seg_message, read_message };
+               struct i2c_msg msgs[3] = { seg_message, write_message, 
read_message };
 
                data.msgs = msgs;
                data.nmsgs = ARRAY_SIZE(msgs);
_______________________________________________
linuxtv-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to