ALSA: hdac: Increase timeout value for link power check
authorJayachandran B <jayachandran.b@intel.com>
Fri, 18 Dec 2015 09:42:01 +0000 (15:12 +0530)
committerMark Brown <broonie@kernel.org>
Sun, 10 Jan 2016 12:02:44 +0000 (12:02 +0000)
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>
sound/hda/ext/hdac_ext_controller.c

index 556267e75591d47c6a6545471a0751e098d9de16..1a55a781270d97b6c321d004ce9311d2ff06299b 100644 (file)
@@ -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);