aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVasily Khoruzhick <anarsoul@gmail.com>2010-09-07 10:04:17 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-09-08 06:27:16 -0400
commit8e3dce4d085328a8999a7362785c8d242fb34e66 (patch)
tree7b8f561ce4bbdf749ccfe286d3f5577e97c8685e
parent5096d62f62f556e4401971d004f4c4db55eca1ed (diff)
ASoC: UDA1380: Add delay between power on and reset
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r--sound/soc/codecs/uda1380.c1
1 files changed, 1 insertions, 0 deletions
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,
616 if (codec->bias_level == SND_SOC_BIAS_OFF) { 616 if (codec->bias_level == SND_SOC_BIAS_OFF) {
617 if (gpio_is_valid(pdata->gpio_power)) { 617 if (gpio_is_valid(pdata->gpio_power)) {
618 gpio_set_value(pdata->gpio_power, 1); 618 gpio_set_value(pdata->gpio_power, 1);
619 mdelay(1);
619 uda1380_reset(codec); 620 uda1380_reset(codec);
620 } 621 }
621 622