summaryrefslogtreecommitdiff
path: root/cras
diff options
context:
space:
mode:
authorPei-Cheng Liao <pc.liao@mediatek.com>2016-06-24 15:50:31 +0800
committerchrome-bot <chrome-bot@chromium.org>2016-06-26 23:17:17 -0700
commit37a8f8597ab0fd198099be907717ec3c7cf3c652 (patch)
tree8edf167d181b8e0bf5dc52215d418b369c1df310 /cras
parent016277914b2ab40298e86145a25f8cb3cd22b790 (diff)
downloadadhd-37a8f8597ab0fd198099be907717ec3c7cf3c652.tar.gz
CRAS: alsa_jack - Increase number of DISPLAY_INFO_MAX_RETRIES
This patch increases number of DISPLAY_INFO_MAX_RETRIES to 25 to avoid some display need more time to connect. BUG=chrome-os-partner:54657 TEST=build and boot elm to UI plug on HDMI and check audio output Change-Id: I783f55e4810ae4b8bbfbbf7f6ab73842998b88d0 Signed-off-by: PC Liao <pc.liao@mediatek.com> Reviewed-on: https://chromium-review.googlesource.com/355772 Reviewed-by: Cheng-Yi Chiang <cychiang@chromium.org> Reviewed-by: Dylan Reid <dgreid@chromium.org>
Diffstat (limited to 'cras')
-rw-r--r--cras/src/server/cras_alsa_jack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cras/src/server/cras_alsa_jack.c b/cras/src/server/cras_alsa_jack.c
index fa1c2e5f..45a46f94 100644
--- a/cras/src/server/cras_alsa_jack.c
+++ b/cras/src/server/cras_alsa_jack.c
@@ -19,7 +19,7 @@
#include "utlist.h"
static const unsigned int DISPLAY_INFO_RETRY_DELAY_MS = 200;
-static const unsigned int DISPLAY_INFO_MAX_RETRIES = 10;
+static const unsigned int DISPLAY_INFO_MAX_RETRIES = 25;
/* Constants used to retrieve monitor name from ELD buffer. */
static const unsigned int ELD_MNL_MASK = 31;