diff options
author | Takashi Iwai <[email protected]> | 2011-05-26 08:09:38 +0200 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2011-05-26 08:09:38 +0200 |
commit | f2b3614cefb61ee6046a0aaee503ee37f227d310 (patch) | |
tree | 4e43feacc58c629919d09bc6fd200ac0892d2cca /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | a331b0c3665506aa23bfc78c777199b30349d731 (diff) |
ALSA: PCM - Don't check DMA time-out too shortly
When the PCM period size is set larger than 10 seconds, currently the
PCM core may abort the operation with DMA-error due to the fixed timeout
for 10 seconds. A similar problem is seen in the drain operation that
has a fixed timeout of 10 seconds, too.
This patch fixes the timeout length depending on the period size and
rate, also including the consideration of no_period_wakeup flag.
Reported-by: Raymond Yau <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions