summaryrefslogtreecommitdiffstats
path: root/sound/pci/riptide
diff options
context:
space:
mode:
authorPeter Gruber <nokos@gmx.net>2008-12-03 15:32:15 +0100
committerTakashi Iwai <tiwai@suse.de>2008-12-03 15:49:42 +0100
commit0f620830db0818ebe065b31c33892e8f0622e1b2 (patch)
tree3feef6db489f19c0f11b80dabc2111b7a459df06 /sound/pci/riptide
parent96841bae6ebfede07294447ad2de9e6385ae9fb5 (diff)
downloadblackbird-op-linux-0f620830db0818ebe065b31c33892e8f0622e1b2.tar.gz
blackbird-op-linux-0f620830db0818ebe065b31c33892e8f0622e1b2.zip
ALSA: Reduce stall detection timeout in riptide.c
Reduce the command timeout to 0.5sec. Should be enough to allow a working command interface but removes a RCU stall and slow resume on some revisions where the AC97 revision detection stalls in resume. Signed-off-by: Peter Gruber <nokos@gmx.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/riptide')
-rw-r--r--sound/pci/riptide/riptide.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/riptide/riptide.c b/sound/pci/riptide/riptide.c
index e9f0706ed3e4..d0ccfc68c522 100644
--- a/sound/pci/riptide/riptide.c
+++ b/sound/pci/riptide/riptide.c
@@ -172,7 +172,7 @@ MODULE_PARM_DESC(opl3_port, "OPL3 port # for Riptide driver.");
#define MAX_WRITE_RETRY 10 /* cmd interface limits */
#define MAX_ERROR_COUNT 10
-#define CMDIF_TIMEOUT 500000
+#define CMDIF_TIMEOUT 50000
#define RESET_TRIES 5
#define READ_PORT_ULONG(p) inl((unsigned long)&(p))
OpenPOWER on IntegriCloud