Skip to content

Commit

Permalink
cs4231: Use SNDRV_DMA_TYPE_DEV instead of SNDRV_DMA_TYPE_SBUS.
Browse files Browse the repository at this point in the history
SBUS layer now uses dma_*() interfaces, no need for special DMA code
any longer.

Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
davem330 committed Aug 29, 2008
1 parent 2bd320f commit 12b1c03
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sound/sparc/cs4231.c
Original file line number Diff line number Diff line change
Expand Up @@ -1784,9 +1784,9 @@ static unsigned int sbus_dma_addr(struct cs4231_dma_control *dma_cont)

static void sbus_dma_preallocate(struct snd_cs4231 *chip, struct snd_pcm *pcm)
{
snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_SBUS,
snd_dma_sbus_data(chip->dev_u.sdev),
64 * 1024, 128 * 1024);
snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_DEV,
&chip->dev_u.sdev->ofdev.dev,
64 * 1024, 128 * 1024);
}

/*
Expand Down

0 comments on commit 12b1c03

Please sign in to comment.