[alsa-devel] [PATCH 3/4] ASoC: UDA1380: Add delay between power on and reset
Vasily Khoruzhick
anarsoul at gmail.com
Tue Sep 7 16:04:17 CEST 2010
Signed-off-by: Vasily Khoruzhick <anarsoul at gmail.com>
---
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 488f801..0c6c725 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);
}
--
1.7.2.2
More information about the Alsa-devel
mailing list