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

Commit 84f87add authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "disp: msm: dp: skip audio notify wait for completion"

parents 2df7ab26 e23e3e27
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -666,6 +666,9 @@ static int dp_audio_notify(struct dp_audio_private *audio, u32 state)
	if (atomic_read(&audio->acked))
	if (atomic_read(&audio->acked))
		goto end;
		goto end;


        if (state == EXT_DISPLAY_CABLE_CONNECT)
                goto end;

	rc = wait_for_completion_timeout(&audio->hpd_comp, HZ * 4);
	rc = wait_for_completion_timeout(&audio->hpd_comp, HZ * 4);
	if (!rc) {
	if (!rc) {
		pr_err("timeout. state=%d err=%d\n", state, rc);
		pr_err("timeout. state=%d err=%d\n", state, rc);