diff options
author | Jaroslav Kysela <perex@suse.cz> | 2004-04-24 19:49:37 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2004-04-24 19:49:37 +0200 |
commit | c288525d429b96c7c6a6d2faa67f07283a678f24 (patch) | |
tree | 1d05469a97cbff7adcb9568905c6b477b659dc5f /sound | |
parent | f290e603b0a5182edc1548ae481187ca4f55dc20 (diff) | |
download | history-c288525d429b96c7c6a6d2faa67f07283a678f24.tar.gz |
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Trident driver,CS4231 driver,PARISC Harmony driver
Remove all old SNDRV_DMA_TYPE_PCI references
Diffstat (limited to 'sound')
-rw-r--r-- | sound/isa/cs423x/cs4231_lib.c | 2 | ||||
-rw-r--r-- | sound/parisc/harmony.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sound/isa/cs423x/cs4231_lib.c b/sound/isa/cs423x/cs4231_lib.c index 2b60b9488de9a8..6da418610268b4 100644 --- a/sound/isa/cs423x/cs4231_lib.c +++ b/sound/isa/cs423x/cs4231_lib.c @@ -1655,7 +1655,7 @@ int snd_cs4231_pcm(cs4231_t *chip, int device, snd_pcm_t **rpcm) #else # ifdef EBUS_SUPPORT if (chip->ebus_flag) { - snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_PCI, + snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_DEV, chip->dev_u.pdev, 64*1024, 128*1024); } else { diff --git a/sound/parisc/harmony.c b/sound/parisc/harmony.c index 6d788a4f10947c..801a79648b7a6d 100644 --- a/sound/parisc/harmony.c +++ b/sound/parisc/harmony.c @@ -858,7 +858,7 @@ static int snd_card_harmony_pcm_init(snd_card_harmony_t *harmony, int device) harmony->pcm = pcm; /* initialize graveyard buffer */ - harmony->dma_dev.type = SNDRV_DMA_TYPE_PCI; + harmony->dma_dev.type = SNDRV_DMA_TYPE_DEV; harmony->dma_dev.dev = snd_dma_pci_data(harmony->fake_pci_dev); harmony->graveyard_addr = snd_dma_alloc_pages(&chip->dma_dev, HARMONY_BUF_SIZE*GRAVEYARD_BUFS, &harmony->graveyard_dma); |