tn7c: increase audio codec delay to 450ms
ximingc [Tue, 27 May 2014 05:22:40 +0000 (13:22 +0800)]
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/415157
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Danny Song <dsong@nvidia.com>

sound/soc/tegra/tegra_rt5640.c

index 13a5403..72d9240 100644 (file)
@@ -1794,7 +1794,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)) {