projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bd320f
)
cs4231: Use SNDRV_DMA_TYPE_DEV instead of SNDRV_DMA_TYPE_SBUS.
author
David S. Miller
<davem@davemloft.net>
Wed, 27 Aug 2008 07:31:36 +0000
(
00:31
-0700)
committer
David S. Miller
<davem@davemloft.net>
Fri, 29 Aug 2008 09:14:57 +0000
(
02:14
-0700)
SBUS layer now uses dma_*() interfaces, no need for special DMA code
any longer.
Signed-off-by: David S. Miller <davem@davemloft.net>
sound/sparc/cs4231.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/sparc/cs4231.c
b/sound/sparc/cs4231.c
index 1c4797be72ee774a54b6e3dd7ec8b0e476ee2381..e2be131723edc850d18d30601cbb60f8e7a94370 100644
(file)
--- 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)
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);
}
/*