disp: msm: dp: fix reset edid segment and address during read
This change fixes a regression related to resetting the edid
segment and address when reading port edid introduced by
896cf4fd01
(disp: msm: dp: reset
edid segment and address when reading port edid).
Change-Id: Ie39fb9558d9f3206e4ded17b97018a966aab3a7c
Signed-off-by: Sudarsan Ramesh <sudarame@codeaurora.org>
This commit is contained in:
@@ -212,7 +212,7 @@ static int dp_sim_read_edid(struct dp_sim_device *sim_dev,
|
||||
sim_dev->edid_seg = buf[0];
|
||||
} else if (msg->address == 0x50) {
|
||||
sim_dev->edid_seg_int = sim_dev->edid_seg;
|
||||
sim_dev->edid_addr = buf[0] + (sim_dev->edid_seg << 8);
|
||||
sim_dev->edid_addr = buf[0];
|
||||
sim_dev->edid_seg = 0;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user