diff options
Diffstat (limited to 'sys/dev/sound/isa/sb16.c')
-rw-r--r-- | sys/dev/sound/isa/sb16.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/sound/isa/sb16.c b/sys/dev/sound/isa/sb16.c index 93e1815..2161982 100644 --- a/sys/dev/sound/isa/sb16.c +++ b/sys/dev/sound/isa/sb16.c @@ -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 |