summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pcm/channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sound/pcm/channel.c')
-rw-r--r--sys/dev/sound/pcm/channel.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/sound/pcm/channel.c b/sys/dev/sound/pcm/channel.c
index 68fc573..8c139b0 100644
--- a/sys/dev/sound/pcm/channel.c
+++ b/sys/dev/sound/pcm/channel.c
@@ -767,8 +767,8 @@ chn_setdir(struct pcm_channel *c, int dir)
CHN_LOCKASSERT(c);
c->direction = dir;
r = CHANNEL_SETDIR(c->methods, c->devinfo, c->direction);
- if (!r && ISA_DMA(b))
- sndbuf_isadmasetdir(b, c->direction);
+ if (!r && SND_DMA(b))
+ sndbuf_dmasetdir(b, c->direction);
return r;
}
@@ -980,8 +980,8 @@ chn_trigger(struct pcm_channel *c, int go)
int ret;
CHN_LOCKASSERT(c);
- if (ISA_DMA(b) && (go == PCMTRIG_EMLDMAWR || go == PCMTRIG_EMLDMARD))
- sndbuf_isadmabounce(b);
+ if (SND_DMA(b) && (go == PCMTRIG_EMLDMAWR || go == PCMTRIG_EMLDMARD))
+ sndbuf_dmabounce(b);
ret = CHANNEL_TRIGGER(c->methods, c->devinfo, go);
return ret;
OpenPOWER on IntegriCloud