Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 96c3c0b8 authored by Narender Ankam's avatar Narender Ankam
Browse files

msm: mdss: dp: fix wrong parsing of sink count



Current Display Port driver is incorrectly parsing sink count
register (0x200) of DPCD. Made changes to parse it correctly
as per DP specification.

Change-Id: Ic858485f19f226f7b2d84f74c97170db8bebf822
Signed-off-by: default avatarNarender Ankam <nankam@codeaurora.org>
parent a19e8c3a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1543,7 +1543,7 @@ static void dp_sink_parse_sink_count(struct mdss_dp_drv_pdata *ep)
	data = *bp++;

	/* BIT 7, BIT 5:0 */
	ep->sink_count.count = (data & BIT(7)) << 6 | (data & 0x63);
	ep->sink_count.count = (data & BIT(7)) >> 1 | (data & 0x3F);
	/* BIT 6*/
	ep->sink_count.cp_ready = data & BIT(6);