fix ess end-of-buffer repeating
Submitted by: nhibma Approved by: jkh
This commit is contained in:
parent
228524cb50
commit
73bd6f4aab
@ -583,14 +583,10 @@ ess_intr(void *arg)
|
||||
* We are transferring data in DSP normal mode,
|
||||
* so clear the dl to indicate the DMA is stopped.
|
||||
*/
|
||||
if (sb->pch.buffer->dl > 0) {
|
||||
sb->pch.buffer->dl = -1;
|
||||
if (sb->pch.buffer->dl > 0)
|
||||
chn_intr(sb->pch.channel);
|
||||
}
|
||||
if (sb->rch.buffer->dl > 0) {
|
||||
sb->rch.buffer->dl = -1;
|
||||
if (sb->rch.buffer->dl > 0)
|
||||
chn_intr(sb->rch.channel);
|
||||
}
|
||||
}
|
||||
|
||||
static int
|
||||
|
@ -583,14 +583,10 @@ ess_intr(void *arg)
|
||||
* We are transferring data in DSP normal mode,
|
||||
* so clear the dl to indicate the DMA is stopped.
|
||||
*/
|
||||
if (sb->pch.buffer->dl > 0) {
|
||||
sb->pch.buffer->dl = -1;
|
||||
if (sb->pch.buffer->dl > 0)
|
||||
chn_intr(sb->pch.channel);
|
||||
}
|
||||
if (sb->rch.buffer->dl > 0) {
|
||||
sb->rch.buffer->dl = -1;
|
||||
if (sb->rch.buffer->dl > 0)
|
||||
chn_intr(sb->rch.channel);
|
||||
}
|
||||
}
|
||||
|
||||
static int
|
||||
|
@ -583,14 +583,10 @@ ess_intr(void *arg)
|
||||
* We are transferring data in DSP normal mode,
|
||||
* so clear the dl to indicate the DMA is stopped.
|
||||
*/
|
||||
if (sb->pch.buffer->dl > 0) {
|
||||
sb->pch.buffer->dl = -1;
|
||||
if (sb->pch.buffer->dl > 0)
|
||||
chn_intr(sb->pch.channel);
|
||||
}
|
||||
if (sb->rch.buffer->dl > 0) {
|
||||
sb->rch.buffer->dl = -1;
|
||||
if (sb->rch.buffer->dl > 0)
|
||||
chn_intr(sb->rch.channel);
|
||||
}
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user