summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pci/cs4281.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sound/pci/cs4281.c')
-rw-r--r--sys/dev/sound/pci/cs4281.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/cs4281.c b/sys/dev/sound/pci/cs4281.c
index 6018ec2..a700394 100644
--- a/sys/dev/sound/pci/cs4281.c
+++ b/sys/dev/sound/pci/cs4281.c
@@ -487,7 +487,7 @@ adcdac_prog(struct sc_chinfo *ch)
if (!ch->dma_setup) {
go = adcdac_go(ch, 0);
cs4281_wr(sc, CS4281PCI_DBA(ch->dma_chan),
- vtophys(sndbuf_getbuf(ch->buffer)));
+ sndbuf_getbufaddr(ch->buffer));
cs4281_wr(sc, CS4281PCI_DBC(ch->dma_chan),
sndbuf_getsize(ch->buffer) / ch->bps - 1);
ch->dma_setup = 1;
OpenPOWER on IntegriCloud