diff options
author | David S. Miller <davem@davemloft.net> | 2008-08-27 03:31:36 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-29 05:14:57 -0400 |
commit | 12b1c03df10da61e222b86f0e1ece9cdb2a909d6 (patch) | |
tree | efc0b285b3ec9034674e70e09a696e5cf188c5c3 /sound/sparc | |
parent | 2bd320f89d417c370f4cf45470d102332c25ea24 (diff) |
cs4231: Use SNDRV_DMA_TYPE_DEV instead of SNDRV_DMA_TYPE_SBUS.
SBUS layer now uses dma_*() interfaces, no need for special DMA code
any longer.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound/sparc')
-rw-r--r-- | sound/sparc/cs4231.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/sparc/cs4231.c b/sound/sparc/cs4231.c index 1c4797be72ee..e2be131723ed 100644 --- a/sound/sparc/cs4231.c +++ b/sound/sparc/cs4231.c | |||
@@ -1784,9 +1784,9 @@ static unsigned int sbus_dma_addr(struct cs4231_dma_control *dma_cont) | |||
1784 | 1784 | ||
1785 | static void sbus_dma_preallocate(struct snd_cs4231 *chip, struct snd_pcm *pcm) | 1785 | static void sbus_dma_preallocate(struct snd_cs4231 *chip, struct snd_pcm *pcm) |
1786 | { | 1786 | { |
1787 | snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_SBUS, | 1787 | snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_DEV, |
1788 | snd_dma_sbus_data(chip->dev_u.sdev), | 1788 | &chip->dev_u.sdev->ofdev.dev, |
1789 | 64 * 1024, 128 * 1024); | 1789 | 64 * 1024, 128 * 1024); |
1790 | } | 1790 | } |
1791 | 1791 | ||
1792 | /* | 1792 | /* |