mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
disp: msm: dp: skip audio notify wait for completion
Skip the wait on audio subsystem response in case of external display connect event. Change-Id: Id7a0ac48f540f025293717e60c28967b83ad46ee Signed-off-by: Zube Molokwu <zmolokwu@codeaurora.org>
This commit is contained in:
parent
13a11e75b0
commit
e23e3e27bf
1 changed files with 3 additions and 0 deletions
|
|
@ -652,6 +652,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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue