From: Vasily Khoruzhick Date: Tue, 7 Sep 2010 14:04:17 +0000 (+0300) Subject: ASoC: UDA1380: Add delay between power on and reset X-Git-Tag: MMI-PSA29.97-13-9~16612^2~1226^2~447 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8e3dce4d085328a8999a7362785c8d242fb34e66;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git ASoC: UDA1380: Add delay between power on and reset Signed-off-by: Vasily Khoruzhick Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/uda1380.c b/sound/soc/codecs/uda1380.c index 488f8010e405..0c6c725736c6 100644 --- a/sound/soc/codecs/uda1380.c +++ b/sound/soc/codecs/uda1380.c @@ -616,6 +616,7 @@ static int uda1380_set_bias_level(struct snd_soc_codec *codec, if (codec->bias_level == SND_SOC_BIAS_OFF) { if (gpio_is_valid(pdata->gpio_power)) { gpio_set_value(pdata->gpio_power, 1); + mdelay(1); uda1380_reset(codec); }