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

This commit is contained in:
Linux Build Service Account 2018-03-15 05:43:11 -07:00 committed by Gerrit - the friendly Code Review server
commit 50cff2fe5a

View file

@ -894,9 +894,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) ||