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

Commit a9ed1419 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: hdmi: remove check for hdcp ops when starting hdcp"

parents 2d790414 bd4701df
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -1382,6 +1382,8 @@ static void hdmi_tx_hpd_int_work(struct work_struct *work)

		if (hdmi_ctrl->hdcp_ops)
			hdmi_ctrl->hdcp22_present = true;
		else
			hdmi_ctrl->hdcp22_present = false;

		if (!hdmi_ctrl->hdcp22_present && hdmi_ctrl->hdcp14_present) {
			hdmi_ctrl->hdcp_feature_data =
@@ -3646,11 +3648,6 @@ static int hdmi_tx_start_hdcp(struct hdmi_tx_ctrl *hdmi_ctrl)
		return -EINVAL;
	}

	if (!hdmi_ctrl->hdcp_ops) {
		DEV_ERR("%s: HDCP feature is not available\n", __func__);
		return -ENODEV;
	}

	if (hdmi_ctrl->panel_data.panel_info.cont_splash_enabled ||
		!hdmi_tx_is_hdcp_enabled(hdmi_ctrl))
		return 0;