rt5639: Reduced delay in set bias standby
Asha T [Mon, 14 Mar 2016 09:27:03 +0000 (14:27 +0530)]
Helps in reducing cold ouptput latency
to go below 100ms

Bug 200180104

Change-Id: I468afa9b7444e5dfc3128833a0b4c8537163ebf0
Signed-off-by: Asha T <atalambedu@nvidia.com>
(cherry picked from commit 5885daae1322255ae5cfc6bee45ccabcecb5498a)
Reviewed-on: http://git-master/r/1032069
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>

sound/soc/codecs/rt5639.c

index 083b213..2610b15 100644 (file)
@@ -3222,7 +3222,7 @@ static int rt5639_set_bias_level(struct snd_soc_codec *codec,
                                RT5639_PWR_BG | RT5639_PWR_VREF2,
                                RT5639_PWR_VREF1 | RT5639_PWR_MB |
                                RT5639_PWR_BG | RT5639_PWR_VREF2);
-                       mdelay(100);
+                       mdelay(50);
                        rt5639_soc_update_bits(codec, RT5639_PWR_ANLG1,
                                RT5639_PWR_FV1 | RT5639_PWR_FV2,
                                RT5639_PWR_FV1 | RT5639_PWR_FV2);