mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
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>
This commit is contained in:
parent
5096d62f62
commit
8e3dce4d08
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user