Commit e10f9d87 authored by Jaroslav Kysela's avatar Jaroslav Kysela

[ALSA] ac97_codec: increase timeout for analog subsections

On some hardware platforms, the AC97 codec requires more time
to wake up.
Signed-off-by: default avatarJaroslav Kysela <perex@perex.cz>
parent 2ec775e7
......@@ -2122,7 +2122,7 @@ int snd_ac97_mixer(struct snd_ac97_bus *bus, struct snd_ac97_template *template,
}
/* nothing should be in powerdown mode */
snd_ac97_write_cache(ac97, AC97_GENERAL_PURPOSE, 0);
end_time = jiffies + msecs_to_jiffies(100);
end_time = jiffies + msecs_to_jiffies(120);
do {
if ((snd_ac97_read(ac97, AC97_POWERDOWN) & 0x0f) == 0x0f)
goto __ready_ok;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment