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

This commit is contained in:
qctecmdr
2019-06-30 01:14:20 -07:00
committed by Gerrit - the friendly Code Review server

View File

@@ -666,6 +666,9 @@ static int dp_audio_notify(struct dp_audio_private *audio, u32 state)
if (atomic_read(&audio->acked))
goto end;
if (state == EXT_DISPLAY_CABLE_CONNECT)
goto end;
rc = wait_for_completion_timeout(&audio->hpd_comp, HZ * 4);
if (!rc) {
pr_err("timeout. state=%d err=%d\n", state, rc);