projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ec775e
)
[ALSA] ac97_codec: increase timeout for analog subsections
author
Jaroslav Kysela
<perex@perex.cz>
Tue, 21 Apr 2009 13:17:54 +0000
(15:17 +0200)
committer
Jaroslav Kysela
<perex@perex.cz>
Tue, 21 Apr 2009 13:17:54 +0000
(15:17 +0200)
On some hardware platforms, the AC97 codec requires more time
to wake up.
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/pci/ac97/ac97_codec.c
patch
|
blob
|
history
diff --git
a/sound/pci/ac97/ac97_codec.c
b/sound/pci/ac97/ac97_codec.c
index
97ee127
..
78288db
100644
(file)
--- a/
sound/pci/ac97/ac97_codec.c
+++ b/
sound/pci/ac97/ac97_codec.c
@@
-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(1
0
0);
+ end_time = jiffies + msecs_to_jiffies(1
2
0);
do {
if ((snd_ac97_read(ac97, AC97_POWERDOWN) & 0x0f) == 0x0f)
goto __ready_ok;