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

Commit edd826f6 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge " msm: mdss: hdcp_1x: enable HDP irq only for DP client"

parents 715baacb c534091b
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -793,9 +793,13 @@ static void hdcp_1x_enable_sink_irq_hpd(struct hdcp_1x *hdcp)
{
	int rc;
	u8 enable_hpd_irq = 0x1;
	u16 version = *hdcp->init_data.version;
	u16 version;
	const int major = 1, minor = 2;

	if (hdcp->init_data.client_id == HDCP_CLIENT_HDMI)
		return;

	version = *hdcp->init_data.version;
	pr_debug("version 0x%x\n", version);

	if (((version & 0xFF) < minor) ||