aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/omap/omap-mcpdm.c
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2012-09-14 08:05:51 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-09-22 11:12:58 -0400
commit061fb36db7c0187aa90b95f1ba56f6192f42b984 (patch)
tree5c6f148cec6de82edebd4111e8ba665c3754a7ad /sound/soc/omap/omap-mcpdm.c
parente512589c17572e7498693a3e05eefa44e622f62b (diff)
ASoC: OMAP: Remove sync_mode from omap_pcm_dma_data struct
The omap-pcm platform driver no longer needs this parameter to select between ELEMENT and PACKET mode. The selection is based on the configured packet_size. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Tested-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/omap/omap-mcpdm.c')
-rw-r--r--sound/soc/omap/omap-mcpdm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/omap/omap-mcpdm.c b/sound/soc/omap/omap-mcpdm.c
index f7babb374a37..baf92da42aec 100644
--- a/sound/soc/omap/omap-mcpdm.c
+++ b/sound/soc/omap/omap-mcpdm.c
@@ -73,14 +73,12 @@ static struct omap_pcm_dma_data omap_mcpdm_dai_dma_params[] = {
73 .name = "Audio playback", 73 .name = "Audio playback",
74 .dma_req = OMAP44XX_DMA_MCPDM_DL, 74 .dma_req = OMAP44XX_DMA_MCPDM_DL,
75 .data_type = OMAP_DMA_DATA_TYPE_S32, 75 .data_type = OMAP_DMA_DATA_TYPE_S32,
76 .sync_mode = OMAP_DMA_SYNC_PACKET,
77 .port_addr = OMAP44XX_MCPDM_L3_BASE + MCPDM_REG_DN_DATA, 76 .port_addr = OMAP44XX_MCPDM_L3_BASE + MCPDM_REG_DN_DATA,
78 }, 77 },
79 { 78 {
80 .name = "Audio capture", 79 .name = "Audio capture",
81 .dma_req = OMAP44XX_DMA_MCPDM_UP, 80 .dma_req = OMAP44XX_DMA_MCPDM_UP,
82 .data_type = OMAP_DMA_DATA_TYPE_S32, 81 .data_type = OMAP_DMA_DATA_TYPE_S32,
83 .sync_mode = OMAP_DMA_SYNC_PACKET,
84 .port_addr = OMAP44XX_MCPDM_L3_BASE + MCPDM_REG_UP_DATA, 82 .port_addr = OMAP44XX_MCPDM_L3_BASE + MCPDM_REG_UP_DATA,
85 }, 83 },
86}; 84};