summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorximingc <ximingc@nvidia.com>2014-05-27 13:22:40 +0800
committerGabby Lee <galee@nvidia.com>2014-05-27 01:59:49 -0700
commitf9e2594166bd1ff5489952de3a7947f73ae836e5 (patch)
tree9a8be94bd3aa849dacb4057e0a7b56d0f10abfcc /sound
parent1bf295782b1bbcc1463b9c93270f2c58dc428885 (diff)
tn7c: increase audio codec delay to 450ms
Realtek codec rt5639 needs 400ms delay between signal LDO1_EN and Initial. Previous 200ms is not enough, increase it to 450ms Bug 200005748 Change-Id: I0a11ed8dd064d720631dc6f09de220e87a529a1a Signed-off-by: ximingc <ximingc@nvidia.com> Reviewed-on: http://git-master/r/415164 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Gabby Lee <galee@nvidia.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/tegra/tegra_rt5640.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/tegra/tegra_rt5640.c b/sound/soc/tegra/tegra_rt5640.c
index 87a3f127ef16..065681bdec3f 100644
--- a/sound/soc/tegra/tegra_rt5640.c
+++ b/sound/soc/tegra/tegra_rt5640.c
@@ -1796,7 +1796,8 @@ static __devinit int tegra_rt5640_driver_probe(struct platform_device *pdev)
if (ret)
dev_err(&pdev->dev, "Fail gpio_direction AUDIO_LDO1\n");
- msleep(200);
+ /* rt5639 needs 400ms delay b/w LDO1_EN and Initial */
+ msleep(450);
}
if (gpio_is_valid(pdata->gpio_codec1)) {