mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
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>
This commit is contained in:
parent
96841bae6e
commit
0f620830db
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue