ASoC: UDA1380: Add delay between power on and reset
authorVasily Khoruzhick <anarsoul@gmail.com>
Tue, 7 Sep 2010 14:04:17 +0000 (17:04 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 8 Sep 2010 10:27:16 +0000 (11:27 +0100)
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>
sound/soc/codecs/uda1380.c

index 488f8010e4059ae0cb8eeae2c4da9d8be408dee9..0c6c725736c628b0046dad43cc9d30260483de8d 100644 (file)
@@ -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);
                        }