Explorar o código

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 
896cf4fd01a3f92975b7202175c6ae8e63494719 (disp: msm: dp: reset
edid segment and address when reading port edid).

Change-Id: Ie39fb9558d9f3206e4ded17b97018a966aab3a7c
Signed-off-by: Sudarsan Ramesh <[email protected]>
Sudarsan Ramesh %!s(int64=4) %!d(string=hai) anos
pai
achega
4195c3b5e0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      msm/dp/dp_mst_sim.c

+ 1 - 1
msm/dp/dp_mst_sim.c

@@ -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;
 		}
 	}