summaryrefslogtreecommitdiff
path: root/sound/soc
diff options
context:
space:
mode:
authorVasily Khoruzhick <anarsoul@gmail.com>2010-09-07 17:04:17 +0300
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-09-08 11:27:16 +0100
commit8e3dce4d085328a8999a7362785c8d242fb34e66 (patch)
tree7b8f561ce4bbdf749ccfe286d3f5577e97c8685e /sound/soc
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>
Diffstat (limited to 'sound/soc')
-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,
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);
}