summaryrefslogtreecommitdiff
path: root/sound/pci/ctxfi/ctatc.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-06-02 15:26:19 +0200
committerTakashi Iwai <tiwai@suse.de>2009-06-02 15:54:47 +0200
commitc76157d9286ed598c241c212aa5a3c6e5107bd82 (patch)
treea08d4b06184bf37ee55a20e30f9c66a43cee37c2 /sound/pci/ctxfi/ctatc.c
parentcd391e206f486955e216a61bd9ebcb0e142122e9 (diff)
ALSA: ctxfi - Support SG-buffers
Use SG-buffers instead of contiguous pages. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ctxfi/ctatc.c')
-rw-r--r--sound/pci/ctxfi/ctatc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/ctxfi/ctatc.c b/sound/pci/ctxfi/ctatc.c
index 268ecc4c2856..684947546d81 100644
--- a/sound/pci/ctxfi/ctatc.c
+++ b/sound/pci/ctxfi/ctatc.c
@@ -128,7 +128,7 @@ static int ct_map_audio_buffer(struct ct_atc *atc, struct ct_atc_pcm *apcm)
runtime = apcm->substream->runtime;
vm = atc->vm;
- apcm->vm_block = vm->map(vm, runtime->dma_area, runtime->dma_bytes);
+ apcm->vm_block = vm->map(vm, apcm->substream, runtime->dma_bytes);
if (NULL == apcm->vm_block)
return -ENOENT;