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

Commit 51a98931 authored by Narender Ankam's avatar Narender Ankam Committed by Gerrit - the friendly Code Review server
Browse files

msm: mdss: hdmi: modify audio event notification sequence.



Audio event is wrongly notified during pre_panel_off event.
Modify HDMI Audio event notification sequence so that audio
events are notified as expected.

CRs-Fixed: 2131442
Change-Id: I5fb5d28cb0162f0c4bf97e29556b15d12e1ea8f1
Signed-off-by: default avatarNarender Ankam <nankam@codeaurora.org>
parent 0e0d3c0d
Loading
Loading
Loading
Loading
+6 −7
Original line number Diff line number Diff line
@@ -450,8 +450,6 @@ static inline void hdmi_tx_ack_state(
			!hdmi_tx_is_dvi_mode(hdmi_ctrl))
		hdmi_ctrl->ext_audio_data.intf_ops.notify(hdmi_ctrl->ext_pdev,
				val);

	hdmi_tx_send_audio_notification(hdmi_ctrl, val);
}

static struct hdmi_tx_ctrl *hdmi_tx_get_drvdata_from_panel_data(
@@ -4047,6 +4045,7 @@ static int hdmi_tx_pre_evt_handle_update_fps(struct hdmi_tx_ctrl *hdmi_ctrl)
static int hdmi_tx_post_evt_handle_unblank(struct hdmi_tx_ctrl *hdmi_ctrl)
{
	hdmi_tx_ack_state(hdmi_ctrl, true);
	hdmi_tx_send_audio_notification(hdmi_ctrl, true);
	return 0;
}