: alsa: Remove special SBUS dma support code.
Subsystems (2)
PATCH 22/49 : alsa: Remove special SBUS dma support code.
alsa: Remove special SBUS dma support code.
No longer used.
Signed-off-by David S. Miller <[email protected]>
--- .../sound/alsa/DocBook/writing-an-alsa-driver.tmpl | 3 +- include/sound/core.h | 3 - include/sound/memalloc.h | 2 - sound/core/memalloc.c | 50 +------------------- 4 files changed, 2 insertions(+), 56 deletions(-)
Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl +1 -2
@@ -5073,8 +5073,7 @@ struct _snd_pcm_runtime { with <constant>SNDRV_DMA_TYPE_CONTINUOUS</constant> type and the <function>snd_dma_continuous_data(GFP_KERNEL)</function> device pointer, where <constant>GFP_KERNEL</constant> is the kernel allocation flag to - use. For the SBUS, <constant>SNDRV_DMA_TYPE_SBUS</constant> and - <function>snd_dma_sbus_data(sbus_dev)</function> are used instead. + use. For the PCI scatter-gather buffers, use <constant>SNDRV_DMA_TYPE_DEV_SG</constant> with <function>snd_dma_pci_data(pci)</function>
include/sound/core.h +0 -3
@@ -42,9 +42,6 @@#ifdef CONFIG_PCI struct pci_dev ;#endif -#ifdef CONFIG_SBUS -struct sbus_dev ; -#endif /* device allocation stuff */
include/sound/memalloc.h +0 -2
@@ -37,7 +37,6 @@ struct snd_dma_device {#ifndef snd_dma_pci_data#define snd_dma_pci_data (pci) (&(pci)->dev)#define snd_dma_isa_data () NULL -#define snd_dma_sbus_data (sbus) ((struct device *)(sbus))#define snd_dma_continuous_data (x) ((struct device *)(unsigned long)(x))#endif
@@ -49,7 +48,6 @@ struct snd_dma_device {#define SNDRV_DMA_TYPE_CONTINUOUS 1/* continuous no-DMA memory */ #define SNDRV_DMA_TYPE_DEV 2/* generic device continuous */ #define SNDRV_DMA_TYPE_DEV_SG 3/* generic device SG-buffer */ -#define SNDRV_DMA_TYPE_SBUS 4/* SBUS continuous */ /* * info for buffer allocation
sound/core/memalloc.c +1 -49
80 lines not on this page · raw message
Signature · 1 line
1.5.6.5.GIT