Commit 0f620830 authored by Peter Gruber's avatar Peter Gruber Committed by Takashi Iwai

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: default avatarPeter Gruber <nokos@gmx.net>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 96841bae
...@@ -172,7 +172,7 @@ MODULE_PARM_DESC(opl3_port, "OPL3 port # for Riptide driver."); ...@@ -172,7 +172,7 @@ MODULE_PARM_DESC(opl3_port, "OPL3 port # for Riptide driver.");
#define MAX_WRITE_RETRY 10 /* cmd interface limits */ #define MAX_WRITE_RETRY 10 /* cmd interface limits */
#define MAX_ERROR_COUNT 10 #define MAX_ERROR_COUNT 10
#define CMDIF_TIMEOUT 500000 #define CMDIF_TIMEOUT 50000
#define RESET_TRIES 5 #define RESET_TRIES 5
#define READ_PORT_ULONG(p) inl((unsigned long)&(p)) #define READ_PORT_ULONG(p) inl((unsigned long)&(p))
......
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