Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hdmi/xilinx-hdmirx.c
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ static int xhdmi_set_edid(struct v4l2_subdev *subdev, struct v4l2_edid *edid) {
xhdmi_set_hpd(xhdmi, 0);

if (edid->blocks) {
memcpy(xhdmi->edid_user, edid->edid, 128 * edid->blocks);
memcpy(xhdmi->edid_user, edid->edid, 128 * min_t(unsigned int, edid->blocks, xhdmi->edid_blocks_max));
XV_HdmiRxSs_LoadEdid(HdmiRxSsPtr, (u8 *)&xhdmi->edid_user,
128 * (u16)xhdmi->edid_user_blocks);
/* enable hotplug after 100 ms */
Expand Down