summaryrefslogtreecommitdiffstats
path: root/sound/hda
diff options
context:
space:
mode:
authorJayachandran B <jayachandran.b@intel.com>2015-12-18 15:12:01 +0530
committerMark Brown <broonie@kernel.org>2016-01-10 12:02:44 +0000
commitcf8fe58b1066cea668e030d0ab61e4b8eef8b219 (patch)
treeb9f9e66268b3084bfee19addbb1f45b7bd4c31f8 /sound/hda
parent88888155c555487037b894a97a2a4c6a8155cda0 (diff)
downloadlinux-cf8fe58b1066cea668e030d0ab61e4b8eef8b219.tar.bz2
ALSA: hdac: Increase timeout value for link power check
HW recommends 180us for worst case values for link power up delay, so change the current delay value from 50 (150us) to 150 (450us) Signed-off-by: Jayachandran B <jayachandran.b@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com> Reviewed-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/hda')
-rw-r--r--sound/hda/ext/hdac_ext_controller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/hda/ext/hdac_ext_controller.c b/sound/hda/ext/hdac_ext_controller.c
index 556267e75591..1a55a781270d 100644
--- a/sound/hda/ext/hdac_ext_controller.c
+++ b/sound/hda/ext/hdac_ext_controller.c
@@ -246,7 +246,7 @@ static int check_hdac_link_power_active(struct hdac_ext_link *link, bool enable)
int mask = (1 << AZX_MLCTL_CPA);
udelay(3);
- timeout = 50;
+ timeout = 150;
do {
val = readl(link->ml_addr + AZX_REG_ML_LCTL);