Skip to content

Commit

Permalink
ALSA: Reduce stall detection timeout in riptide.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
konsumverweigerer authored and tiwai committed Dec 3, 2008
1 parent 96841ba commit 0f62083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/pci/riptide/riptide.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 0f62083

Please sign in to comment.