diff options
author | Clemens Ladisch <[email protected]> | 2010-03-24 07:10:54 +0100 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2010-03-24 08:02:11 +0100 |
commit | 1c583063a5c769fe2ec604752e383972c69e6d9b (patch) | |
tree | 566f530439c23f25b448f7e8c6b576bc3f443fdd /tools/perf/util/trace-event-scripting.c | |
parent | fc8aa7b16a5fcfe9c6d0be9bb587f1fcedd9145f (diff) |
ALSA: cmipci: work around invalid PCM pointer
When the CMI8738 FRAME2 register is read, the chip sometimes (probably
when wrapping around) returns an invalid value that would be outside the
programmed DMA buffer. This leads to an inconsistent PCM pointer that is
likely to result in an underrun.
To work around this, read the register multiple times until we get a
valid value; the error state seems to be very short-lived.
Signed-off-by: Clemens Ladisch <[email protected]>
Reported-and-tested-by: Matija Nalis <[email protected]>
Cc: <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions