diff options
author | Vasily Khoruzhick <anarsoul@gmail.com> | 2010-09-07 10:04:17 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-09-08 06:27:16 -0400 |
commit | 8e3dce4d085328a8999a7362785c8d242fb34e66 (patch) | |
tree | 7b8f561ce4bbdf749ccfe286d3f5577e97c8685e /sound/soc/codecs | |
parent | 5096d62f62f556e4401971d004f4c4db55eca1ed (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>
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r-- | sound/soc/codecs/uda1380.c | 1 |
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 | ||