diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-06-02 09:26:19 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-06-02 09:54:47 -0400 |
commit | c76157d9286ed598c241c212aa5a3c6e5107bd82 (patch) | |
tree | a08d4b06184bf37ee55a20e30f9c66a43cee37c2 /sound/pci/ctxfi/ctatc.c | |
parent | cd391e206f486955e216a61bd9ebcb0e142122e9 (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.c | 2 |
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) | |||
128 | runtime = apcm->substream->runtime; | 128 | runtime = apcm->substream->runtime; |
129 | vm = atc->vm; | 129 | vm = atc->vm; |
130 | 130 | ||
131 | apcm->vm_block = vm->map(vm, runtime->dma_area, runtime->dma_bytes); | 131 | apcm->vm_block = vm->map(vm, apcm->substream, runtime->dma_bytes); |
132 | 132 | ||
133 | if (NULL == apcm->vm_block) | 133 | if (NULL == apcm->vm_block) |
134 | return -ENOENT; | 134 | return -ENOENT; |